summaryrefslogtreecommitdiff
path: root/source4/scripting/python
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-09-28 09:32:15 +1000
committerAndrew Tridgell <tridge@samba.org>2011-10-04 15:08:57 +1100
commitfb937afbecb61896e8e8e56c19bbc193fc573e15 (patch)
tree905931cd751b9394952f8df28999ac56bc1306b6 /source4/scripting/python
parentefb3f45a81ba0df5051c064a69b4877ee48a0798 (diff)
downloadsamba-fb937afbecb61896e8e8e56c19bbc193fc573e15.tar.gz
samba-fb937afbecb61896e8e8e56c19bbc193fc573e15.tar.bz2
samba-fb937afbecb61896e8e8e56c19bbc193fc573e15.zip
s4-join: enable cleanup on failed join
if a join fails, then cleanup the old records
Diffstat (limited to 'source4/scripting/python')
-rw-r--r--source4/scripting/python/samba/join.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/join.py b/source4/scripting/python/samba/join.py
index 195dfc2312..38f5c8aac1 100644
--- a/source4/scripting/python/samba/join.py
+++ b/source4/scripting/python/samba/join.py
@@ -818,7 +818,7 @@ class dc_join(object):
ctx.join_finalise()
except Exception:
print "Join failed - cleaning up"
- #ctx.cleanup_old_join()
+ ctx.cleanup_old_join()
raise