Remove unnecessary parens
This commit is contained in:
parent
62f79beb90
commit
841f6e131d
2 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ class Module(bumblebee.engine.Module):
|
||||||
num_shortcuts = min(len(cmds), len(labels))
|
num_shortcuts = min(len(cmds), len(labels))
|
||||||
|
|
||||||
# report possible problem as a warning
|
# report possible problem as a warning
|
||||||
if (len(cmds) is not len(labels)):
|
if len(cmds) is not len(labels):
|
||||||
logging.warning("shortcut: the number of commands does not match "\
|
logging.warning("shortcut: the number of commands does not match "\
|
||||||
"the number of provided labels.")
|
"the number of provided labels.")
|
||||||
logging.warning("cmds : %s, labels : %s", cmds, labels)
|
logging.warning("cmds : %s, labels : %s", cmds, labels)
|
||||||
|
|
|
@ -66,7 +66,7 @@ class Module(bumblebee.engine.Module):
|
||||||
except Exception:
|
except Exception:
|
||||||
self._full_title = no_title
|
self._full_title = no_title
|
||||||
|
|
||||||
if(self._full_title is None):
|
if self._full_title is None:
|
||||||
self._full_title = no_title
|
self._full_title = no_title
|
||||||
|
|
||||||
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
|
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
|
||||||
|
|
Loading…
Reference in a new issue