diff --git a/superlance/memmon.py b/superlance/memmon.py index aa6a52f..9c5a85c 100644 --- a/superlance/memmon.py +++ b/superlance/memmon.py @@ -208,7 +208,7 @@ def restart(self, name, rss): uptime = info['now'] - info['start'] #uptime in seconds self.stderr.write('%s Restarting %s\n' % (datetime.datetime.now().isoformat(), name)) - memmonId = self.memmonName and " [%s]" % self.memmonName or "" + try: self.rpc.supervisor.stopProcess(name) except xmlrpclib.Fault as e: