Skip to content
Snippets Groups Projects
Commit 3fcf9f8b authored by Patrick Godwin's avatar Patrick Godwin
Browse files

httpinterface.py: check for service in log msg if verbose

parent ec2aaf79
No related branches found
No related tags found
1 merge request!15Make service discovery optional
......@@ -142,7 +142,7 @@ class HTTPServers(list):
else:
service = None
if verbose:
print >>sys.stderr, "done (%s)" % ".".join((service.sname, service.sdomain))
print >>sys.stderr, "done (%s)" % (".".join((service.sname, service.sdomain)) if service else "")
self.append((httpd, service))
if not self:
raise ValueError("unable to start servers%s" % (" on port %d" % port if port != 0 else ""))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment