pep8: Use "X not in Y" instead of "not X in Y"
flake8 --select E713, semi-manual fixing
This commit is contained in:
parent
31a96228db
commit
21e8f82fd7
57 changed files with 81 additions and 83 deletions
|
|
@ -204,7 +204,7 @@ class Application(object):
|
|||
|
||||
if path is None:
|
||||
path = os.path.join(self.CONFDIR, self.APPNAME + '.storage')
|
||||
elif not os.path.sep in path:
|
||||
elif os.path.sep not in path:
|
||||
path = os.path.join(self.CONFDIR, path)
|
||||
|
||||
storage = klass(path)
|
||||
|
|
@ -232,7 +232,7 @@ class Application(object):
|
|||
|
||||
if path is None:
|
||||
path = os.path.join(self.CONFDIR, self.APPNAME)
|
||||
elif not os.path.sep in path:
|
||||
elif os.path.sep not in path:
|
||||
path = os.path.join(self.CONFDIR, path)
|
||||
|
||||
self.config = klass(path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue