server/sqlutils.py
changeset 9891 3386fd89c914
parent 9724 e45bf9baa7b7
child 10086 98bc2ca1a816
--- a/server/sqlutils.py	Tue Jun 17 12:03:30 2014 +0200
+++ b/server/sqlutils.py	Wed Jul 09 15:44:09 2014 +0200
@@ -47,7 +47,7 @@
     return subprocess.call(cmd)
 
 
-def sqlexec(sqlstmts, cursor_or_execute, withpb=not os.environ.get('APYCOT_ROOT'),
+def sqlexec(sqlstmts, cursor_or_execute, withpb=True,
             pbtitle='', delimiter=';', cnx=None):
     """execute sql statements ignoring DROP/ CREATE GROUP or USER statements
     error.