diff options
Diffstat (limited to 'source4/scripting/python')
-rw-r--r-- | source4/scripting/python/samba/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/__init__.py b/source4/scripting/python/samba/__init__.py index c3446146a7..9cc224b562 100644 --- a/source4/scripting/python/samba/__init__.py +++ b/source4/scripting/python/samba/__init__.py @@ -204,7 +204,7 @@ class Ldb(ldb.Ldb): try: self.delete(attr) except ldb.LdbError, (errno, _): - if errno != ldb.ERR_NO_SUCH_OBJECT + if errno != ldb.ERR_NO_SUCH_OBJECT: # Ignore missing dn errors raise |