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
dbcheck: fix the err_empty_attribute() check
[nivanova/samba-autobuild/.git]
/
python
/
samba
/
dbchecker.py
diff --git
a/python/samba/dbchecker.py
b/python/samba/dbchecker.py
index c4747811c76817d9839725f82ebfb956407f4cac..a0500c6c578cece582cb7e106d292f5a02130f02 100644
(file)
--- a/
python/samba/dbchecker.py
+++ b/
python/samba/dbchecker.py
@@
-2445,7
+2445,7
@@
newSuperior: %s""" % (str(from_dn), str(to_rdn), str(to_base)))
# check for empty attributes
for val in obj[attrname]:
- if val == '':
+ if val ==
b
'':
self.err_empty_attribute(dn, attrname)
error_count += 1
continue