diff options
author | Andrew Bartlett <abartlet@samba.org> | 2016-11-03 13:30:56 +1300 |
---|---|---|
committer | Garming Sam <garming@samba.org> | 2016-11-04 04:41:19 +0100 |
commit | 09537a67b0e761c834fb7c14d7e8d55e07fc5156 (patch) | |
tree | 865d20629bc84fa9d3d75bc77b89de3baf89bf73 /python | |
parent | 7fd5be535ade5ed119d869c8f215aa605aba2125 (diff) | |
download | samba-09537a67b0e761c834fb7c14d7e8d55e07fc5156.tar.gz |
dbcheck: Correctly initialise keep_transaction in missing_parent test
Otherwise there is no point to this variable, we are trying to work out
if the subsequent modify succeded
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=9954
Diffstat (limited to 'python')
-rw-r--r-- | python/samba/dbchecker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/samba/dbchecker.py b/python/samba/dbchecker.py index cc8116a04a8..294c3200bd3 100644 --- a/python/samba/dbchecker.py +++ b/python/samba/dbchecker.py @@ -682,7 +682,7 @@ newSuperior: %s""" % (str(from_dn), str(to_rdn), str(to_base))) self.report('Not moving object %s into LostAndFound' % (obj.dn)) return - keep_transaction = True + keep_transaction = False self.samdb.transaction_start() try: nc_root = self.samdb.get_nc_root(obj.dn); |