server/serverctl.py
changeset 4886 18a1735c283c
parent 4848 41f84eea63c9
child 4899 c666d265fb95
--- 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