# HG changeset patch # User Sylvain Thénault # Date 1268390945 -3600 # Node ID 18a1735c283c27506b943db3d5f66946c59e9561 # Parent f175997057b50a0475449b5ebf5dcfd3e763dad4 [db creation] fix some bugs introduced by the migration to logilab.database diff -r f175997057b5 -r 18a1735c283c server/serverctl.py --- a/server/serverctl.py Fri Mar 12 10:53:25 2010 +0100 +++ b/server/serverctl.py Fri Mar 12 11:49:05 2010 +0100 @@ -329,7 +329,7 @@ source['db-encoding']) else: helper.create_database(cursor, dbname, - encoding=source['db-encoding']) + dbencoding=source['db-encoding']) dbcnx.commit() print '-> database %s created.' % dbname except: @@ -337,7 +337,7 @@ raise cnx = system_source_cnx(source, special_privs='LANGUAGE C', verbose=verbose) cursor = cnx.cursor() - dbhelper.init_fti_extensions(cursor) + helper.init_fti_extensions(cursor) # postgres specific stuff if driver == 'postgres': # install plpythonu/plpgsql language if not installed by the cube