pep8: Fix object comparisons
This commit is contained in:
parent
c02ab5f2c5
commit
4f897a8675
4 changed files with 4 additions and 4 deletions
|
|
@ -353,7 +353,7 @@ class Application(object):
|
|||
if self.options.shell_completion:
|
||||
items = set()
|
||||
for option in self._parser.option_list:
|
||||
if not option.help is optparse.SUPPRESS_HELP:
|
||||
if option.help is not optparse.SUPPRESS_HELP:
|
||||
items.update(str(option).split('/'))
|
||||
items.update(self._get_completions())
|
||||
print(' '.join(items))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue