diff -r 1b0dbcf4b214 -r 559cad62c786 server/sqlutils.py --- a/server/sqlutils.py Wed Oct 07 12:38:30 2009 +0200 +++ b/server/sqlutils.py Fri Oct 09 16:39:26 2009 +0200 @@ -33,7 +33,8 @@ SQL_PREFIX = 'cw_' -def sqlexec(sqlstmts, cursor_or_execute, withpb=True, pbtitle='', delimiter=';'): +def sqlexec(sqlstmts, cursor_or_execute, withpb=not os.environ.get('APYCOT_ROOT'), + pbtitle='', delimiter=';'): """execute sql statements ignoring DROP/ CREATE GROUP or USER statements error. If a cnx is given, commit at each statement """