server/serverctl.py
changeset 8376 f42dcb798142
parent 8350 e1c05bf6fdeb
child 8434 39c5bb4dcc59
--- a/server/serverctl.py	Thu Apr 12 19:08:30 2012 +0200
+++ b/server/serverctl.py	Wed Apr 25 11:39:14 2012 +0200
@@ -662,7 +662,7 @@
     def create_repo(self, config):
         address = self['address']
         if not address:
-            address = config.get('zmq-repository-address', 'pyro://')
+            address = config.get('zmq-repository-address') or 'pyro://'
         if address.startswith('pyro://'):
             from cubicweb.server.server import RepositoryServer
             return RepositoryServer(config), config['host']