From 7ff9812d8089edae85fbc21d7b41be26cc94d02a Mon Sep 17 00:00:00 2001 From: Kipp Cannon <kipp.cannon@ligo.org> Date: Thu, 14 Jun 2018 17:41:20 +0900 Subject: [PATCH] httpinterface: remove .set_service_properties() - unused and won't work because services are already advertised --- gstlal/python/httpinterface.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/gstlal/python/httpinterface.py b/gstlal/python/httpinterface.py index c9cee8ea9b..bb16e5715d 100644 --- a/gstlal/python/httpinterface.py +++ b/gstlal/python/httpinterface.py @@ -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) ...", -- GitLab