We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6e89b5 commit 127e97fCopy full SHA for 127e97f
roundup/scripts/roundup_server.py
@@ -17,7 +17,7 @@
17
18
"""Command-line script that runs a server over roundup.cgi.client.
19
20
-$Id: roundup_server.py,v 1.60 2004-09-21 08:01:15 a1s Exp $
+$Id: roundup_server.py,v 1.61 2004-09-21 08:16:50 a1s Exp $
21
"""
22
__docformat__ = 'restructuredtext'
23
@@ -499,7 +499,7 @@ def run(port=undefined, success_message=None):
499
elif opt == '-c': svc_args = [opt] + args; args = None
500
elif opt == '-C': config = arg
501
502
- if svc_args is not None and len(optlist) > 1:
+ if svc_args and len(optlist) > 1:
503
raise ValueError, _("windows service option must be the only one")
504
505
if pidfile and not logfile:
0 commit comments