Fix common typo, occured should be occurred

This commit is contained in:
James Cameron 2017-08-01 09:39:02 +10:00
parent 5750773dda
commit dd512c9c29
3 changed files with 3 additions and 3 deletions

View File

@ -246,7 +246,7 @@ class Alert(Gtk.EventBox):
Emitting response when we have a result
A result can be that a user has clicked a button or
a timeout has occured, the id identifies the button
a timeout has occurred, the id identifies the button
that has been clicked and -1 for a timeout
"""
self.emit('response', response_id)

View File

@ -240,7 +240,7 @@ def trace(logger=None, logger_name=None, skip_args=None, skip_kwargs=None,
try:
res = f(*args, **kwargs)
except:
trace_logger.exception("Exception occured in %s" % f.__name__)
trace_logger.exception("Exception occurred in %s" % f.__name__)
raise
trace_logger.log(TRACE, "%s(%s) returned %s", f.__name__,

View File

@ -336,7 +336,7 @@ def _cleanup_temp_files():
os.unlink(path)
except:
# pylint: disable=W0702
logging.exception('Exception occured in _cleanup_temp_files')
logging.exception('Exception occurred in _cleanup_temp_files')
atexit.register(_cleanup_temp_files)