[migration] set ask_confirm=False by default on rqlexec stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 07 Sep 2010 23:00:53 +0200
branchstable
changeset 6186 8ada7df95877
parent 6185 229006accd26
child 6187 348c7d93cda3
[migration] set ask_confirm=False by default on rqlexec
server/migractions.py
--- a/server/migractions.py	Tue Sep 07 22:59:55 2010 +0200
+++ b/server/migractions.py	Tue Sep 07 23:00:53 2010 +0200
@@ -272,7 +272,7 @@
         if self.session:
             self.session.set_pool()
 
-    def rqlexecall(self, rqliter, ask_confirm=True):
+    def rqlexecall(self, rqliter, ask_confirm=False):
         for rql, kwargs in rqliter:
             self.rqlexec(rql, kwargs, ask_confirm=ask_confirm)
 
@@ -1337,7 +1337,7 @@
                 return
 
     def rqlexec(self, rql, kwargs=None, cachekey=None, build_descr=True,
-                ask_confirm=True):
+                ask_confirm=False):
         """rql action"""
         if cachekey is not None:
             warn('[3.8] cachekey is deprecated, you can safely remove this argument',