git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PEP8: fix E713: test for membership should be 'not in'
[nivanova/samba-autobuild/.git]
/
python
/
samba
/
netcmd
/
dbcheck.py
diff --git
a/python/samba/netcmd/dbcheck.py
b/python/samba/netcmd/dbcheck.py
index 3a940bf6d6a472d87738efac9bca733d7a319aa6..6369e7fbb09111f0b6baabbe4b19c1bec169e633 100644
(file)
--- a/
python/samba/netcmd/dbcheck.py
+++ b/
python/samba/netcmd/dbcheck.py
@@
-110,7
+110,7
@@
class cmd_dbcheck(Command):
scope_map = {"SUB": ldb.SCOPE_SUBTREE, "BASE": ldb.SCOPE_BASE, "ONE": ldb.SCOPE_ONELEVEL}
scope = scope.upper()
- if
not scope
in scope_map:
+ if
scope not
in scope_map:
raise CommandError("Unknown scope %s" % scope)
search_scope = scope_map[scope]