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))
|
||||
|
||||
# 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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue