server/serverctl.py
changeset 8434 39c5bb4dcc59
parent 8376 f42dcb798142
child 8449 cc83a3f16c0f
--- a/server/serverctl.py	Wed Jun 06 10:26:34 2012 +0200
+++ b/server/serverctl.py	Wed Jun 06 10:30:54 2012 +0200
@@ -447,7 +447,7 @@
             get_connection(
                 system['db-driver'], database=system['db-name'],
                 host=system.get('db-host'), port=system.get('db-port'),
-                user=system.get('db-user'), password=system.get('db-password'),
+                user=system.get('db-user') or '', password=system.get('db-password') or '',
                 **extra)
         except Exception, ex:
             raise ConfigurationError(