From d9c550cf1781042a1871615774a36f10f07e810b Mon Sep 17 00:00:00 2001 From: Diane Trout Date: Mon, 10 Dec 2007 21:06:55 +0000 Subject: [PATCH] [project @ use XmlRpcBot.rpc_send] that way I can put all the logging code and error checking code in one place, and I don't have to pass around the client connection. --- gaworkflow/copier.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gaworkflow/copier.py b/gaworkflow/copier.py index 0e10aa0..268ff64 100644 --- a/gaworkflow/copier.py +++ b/gaworkflow/copier.py @@ -203,7 +203,7 @@ class CopierBot(rpc.XmlRpcBot): self.send(u, 'run %s finished' % (runDir)) if self.notify_runner is not None: for r in self.notify_runner: - rpc.send(self.cl, self.runner, (runDir,), 'runFinished') + self.rpc_send(self.runner, (runDir,), 'runFinished') logging.info("forwarding runFinshed message for %s" % (runDir)) def update(self, *args): -- 2.30.2