Remove unnecessary parens

This commit is contained in:
Frederic Junod 2018-06-04 15:03:39 +02:00
parent 62f79beb90
commit 841f6e131d
2 changed files with 2 additions and 2 deletions

View file

@ -49,7 +49,7 @@ class Module(bumblebee.engine.Module):
num_shortcuts = min(len(cmds), len(labels))
# 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 "\
"the number of provided labels.")
logging.warning("cmds : %s, labels : %s", cmds, labels)

View file

@ -66,7 +66,7 @@ class Module(bumblebee.engine.Module):
except Exception:
self._full_title = no_title
if(self._full_title is None):
if self._full_title is None:
self._full_title = no_title
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4