Revert "dbcheck transaction..."
authorStefan Metzmacher <metze@samba.org>
Wed, 23 Jan 2013 15:34:28 +0000 (16:34 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 27 Jun 2016 20:05:12 +0000 (22:05 +0200)
This reverts commit 772214889835d66e1fa3273ac7614ee169868acb.

python/samba/netcmd/dbcheck.py

index 6905855c4b6e4ecd92dd282ae63d2bf242c21691..4cc0631bf768ca834110034ad99bf8074b41728a 100644 (file)
@@ -111,7 +111,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: