Fix spelling of temporarily
This commit is contained in:
parent
b67d11f6f4
commit
bc01f3a780
1
doc/TODO
1
doc/TODO
@ -132,7 +132,6 @@ style
|
||||
enum/namedtuple).
|
||||
- Config init and some persistent objects should be moved out of QApplication.
|
||||
- Use separate logger for config
|
||||
- Fix spelling of "temporarely"
|
||||
- Make more stuff private
|
||||
- Don't keep references to parent QObjects!
|
||||
- Use unittest.Mock and especially unittest.patch more.
|
||||
|
@ -152,7 +152,7 @@ def init_log(args):
|
||||
|
||||
@contextlib.contextmanager
|
||||
def disable_qt_msghandler():
|
||||
"""Contextmanager which temporarely disables the Qt message handler."""
|
||||
"""Contextmanager which temporarily disables the Qt message handler."""
|
||||
old_handler = qInstallMessageHandler(None)
|
||||
yield
|
||||
qInstallMessageHandler(old_handler)
|
||||
|
@ -118,7 +118,7 @@ def safe_shlex_split(s):
|
||||
soon as ", ' or \ is typed, the string is invalid for shlex,
|
||||
because it encounters EOF while in quote/escape state.
|
||||
|
||||
Here we fix this error temporarely so shlex doesn't blow up,
|
||||
Here we fix this error temporarily so shlex doesn't blow up,
|
||||
and then retry splitting again.
|
||||
|
||||
Since shlex raises ValueError in both cases we unfortunately
|
||||
@ -179,7 +179,7 @@ def get_standard_dir(typ):
|
||||
"""
|
||||
qapp = QCoreApplication.instance()
|
||||
orgname = qapp.organizationName()
|
||||
# We need to temporarely unset the organisationname here since the
|
||||
# We need to temporarily unset the organisationname here since the
|
||||
# webinspector wants it to be set to store its persistent data correctly,
|
||||
# but we don't want that to happen.
|
||||
qapp.setOrganizationName(None)
|
||||
@ -508,7 +508,7 @@ def fake_io(write_func):
|
||||
|
||||
@contextlib.contextmanager
|
||||
def disabled_excepthook():
|
||||
"""Run code with the exception hook temporarely disabled."""
|
||||
"""Run code with the exception hook temporarily disabled."""
|
||||
old_excepthook = sys.excepthook
|
||||
sys.excepthook = sys.__excepthook__
|
||||
yield
|
||||
|
@ -332,7 +332,7 @@ class StatusBar(QWidget):
|
||||
log.statusbar.debug("ignoring")
|
||||
elif immediately:
|
||||
# This message is a reaction to a keypress and should be displayed
|
||||
# immediately, temporarely interrupting the message queue.
|
||||
# immediately, temporarily interrupting the message queue.
|
||||
# We display this immediately and restart the timer.to clear it and
|
||||
# display the rest of the queue later.
|
||||
log.statusbar.debug("Moving to beginning of queue")
|
||||
|
Loading…
Reference in New Issue
Block a user