[c-c shell] closes #1669147: autocommit in maintenance scripts stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 11 May 2011 17:04:29 +0200
branchstable
changeset 7369 b3709a8274d5
parent 7367 96cdd8418a10
child 7370 96923d75610b
[c-c shell] closes #1669147: autocommit in maintenance scripts
cwctl.py
--- a/cwctl.py	Wed May 11 13:39:01 2011 +0200
+++ b/cwctl.py	Wed May 11 17:04:29 2011 +0200
@@ -905,6 +905,7 @@
                 scripts, args = self.cmdline_parser.largs[1:], self.cmdline_parser.rargs
                 for script in scripts:
                     mih.cmd_process_script(script, scriptargs=args)
+                    cnx.commit()
             else:
                 mih.interactive_shell()
         finally: