[migration] use new default argument, default_is_yes has never been there...
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 07 Aug 2009 16:18:51 +0200
changeset 2739 2403260cb5b4
parent 2738 e7e46121a4f9
child 2740 7ab70fad02df
[migration] use new default argument, default_is_yes has never been there...
server/sqlutils.py
--- a/server/sqlutils.py	Fri Aug 07 16:18:28 2009 +0200
+++ b/server/sqlutils.py	Fri Aug 07 16:18:51 2009 +0200
@@ -210,7 +210,7 @@
                 return
         if os.system(cmd):
             print '-> error trying to backup with command', cmd
-            if not confirm('Continue anyway?', default_is_yes=False):
+            if not confirm('Continue anyway?', default='n'):
                 raise SystemExit(1)
         else:
             print '-> backup file',  backupfile