Skip to content
Snippets Groups Projects
Commit 7ff9812d authored by Kipp Cannon's avatar Kipp Cannon
Browse files

httpinterface: remove .set_service_properties()

- unused and won't work because services are already advertised
parent b33bec8a
No related branches found
No related tags found
No related merge requests found
......@@ -140,16 +140,6 @@ class HTTPServers(list):
raise ValueError("unable to start servers%s" % (" on port %d" % port if port != 0 else ""))
self.service_publisher.commit()
def set_service_properties(self, service_properties):
for httpd, service in self:
if service is None:
continue
try:
service.set_properties(service_properties)
except Exception as e:
if self.verbose:
print >>sys.stderr, "failed: %s" % str(e)
def __del__(self):
if self.verbose:
print >>sys.stderr, "de-advertising http server(s) ...",
......
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