Fix 'occured' typo, replace with 'occurred'.

This commit is contained in:
Bas Couwenberg 2016-08-05 14:50:50 +02:00
parent 388a8a7c4d
commit 2003415f09
3 changed files with 4 additions and 4 deletions

View file

@ -73,7 +73,7 @@ class BuildError(Exception):
Information about the cause of the location of the error: Information about the cause of the location of the error:
--------------------------------------------------------- ---------------------------------------------------------
node : the error occured while building this target node(s) node : the error occurred while building this target node(s)
executor : the executor that caused the build to fail (might executor : the executor that caused the build to fail (might
be None if the build failures is not due to the be None if the build failures is not due to the

View file

@ -564,7 +564,7 @@ def find_deepest_user_frame(tb):
def _scons_user_error(e): def _scons_user_error(e):
"""Handle user errors. Print out a message and a description of the """Handle user errors. Print out a message and a description of the
error, along with the line number and routine where it occured. error, along with the line number and routine where it occurred.
The file and line number will be the deepest stack frame that is The file and line number will be the deepest stack frame that is
not part of SCons itself. not part of SCons itself.
""" """
@ -579,7 +579,7 @@ def _scons_user_error(e):
def _scons_user_warning(e): def _scons_user_warning(e):
"""Handle user warnings. Print out a message and a description of """Handle user warnings. Print out a message and a description of
the warning, along with the line number and routine where it occured. the warning, along with the line number and routine where it occurred.
The file and line number will be the deepest stack frame that is The file and line number will be the deepest stack frame that is
not part of SCons itself. not part of SCons itself.
""" """

View file

@ -755,7 +755,7 @@ void map_parser::parse_layer(Map & map, xml_node const& node)
} }
catch (...) catch (...)
{ {
throw config_error("Unknown exception occured attempting to create datasoure for layer '" + lyr.name() + "'"); throw config_error("Unknown exception occurred attempting to create datasoure for layer '" + lyr.name() + "'");
} }
} }
} }