[server] Make sure 'zmq-address-sub' config is always iterable
authorRémi Cardona <remi.cardona@logilab.fr>
Wed, 11 Feb 2015 12:42:19 +0100
changeset 10233 f7dfcb3add15
parent 10228 d8a208f7e3d1
child 10234 a12e4459eee5
[server] Make sure 'zmq-address-sub' config is always iterable
server/serverconfig.py
--- a/server/serverconfig.py	Mon Mar 09 09:32:11 2015 +0100
+++ b/server/serverconfig.py	Wed Feb 11 12:42:19 2015 +0100
@@ -237,7 +237,7 @@
           }),
          ('zmq-address-sub',
           {'type' : 'csv',
-           'default' : None,
+           'default' : (),
            'help': ('List of ZMQ addresses to subscribe to (requires pyzmq) '
                     '(of the form `tcp://<ipaddr>:<port>`)'),
            'group': 'zmq', 'level': 1,