Revert "dbcheck transaction..."
authorStefan Metzmacher <metze@samba.org>
Wed, 23 Jan 2013 15:34:28 +0000 (16:34 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 29 Jan 2013 21:03:24 +0000 (22:03 +0100)
This reverts commit 772214889835d66e1fa3273ac7614ee169868acb.

source4/scripting/python/samba/netcmd/dbcheck.py

index 959457dc6628c296cdffa21f95fe20c3e9ae2259..889b0ff075c3d44acc48db56ad865bef397164ff 100644 (file)
@@ -109,7 +109,7 @@ class cmd_dbcheck(Command):
             attrs = attrs.split()
 
         started_transaction = False
-        if True: #yes and fix:
+        if yes and fix:
             samdb.transaction_start()
             started_transaction = True
         try: