|
@@ -55,7 +55,7 @@ def coerce_port(port):
|
|
|
port = int(port)
|
|
port = int(port)
|
|
|
if port == 0:
|
|
if port == 0:
|
|
|
port = ''
|
|
port = ''
|
|
|
- except ValueError, e:
|
|
|
|
|
|
|
+ except ValueError:
|
|
|
port = ''
|
|
port = ''
|
|
|
return port
|
|
return port
|
|
|
|
|
|
|
@@ -419,6 +419,12 @@ APP_BLACKLIST = Config(
|
|
|
help=_('Comma separated list of apps to not load at server startup.')
|
|
help=_('Comma separated list of apps to not load at server startup.')
|
|
|
)
|
|
)
|
|
|
|
|
|
|
|
|
|
+CLUSTER_ID = Config(
|
|
|
|
|
+ key="cluster_id",
|
|
|
|
|
+ help=_("Id of the cluster here Hue is located."),
|
|
|
|
|
+ private=False,
|
|
|
|
|
+ default='default')
|
|
|
|
|
+
|
|
|
DEMO_ENABLED = Config( # Internal and Temporary
|
|
DEMO_ENABLED = Config( # Internal and Temporary
|
|
|
key="demo_enabled",
|
|
key="demo_enabled",
|
|
|
help=_("To set to true in combination when using Hue demo backend."),
|
|
help=_("To set to true in combination when using Hue demo backend."),
|