From 441160a2bb0e0c4cfca84f5e2005ec00fabced92 Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Wed, 23 Nov 2011 01:53:47 +0100 Subject: [PATCH] Fixed client bug. --- pdm/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdm/cli.py b/pdm/cli.py index da6bcc5..d88ebbd 100644 --- a/pdm/cli.py +++ b/pdm/cli.py @@ -136,7 +136,7 @@ class perfproxy(object): self.cl.run("subs", self.id) self.subscribers.add(cb) - def unsubscribe(self): + def unsubscribe(self, cb): if cb not in self.subscribers: raise ValueError("Not subscribed") self.subscribers.remove(cb) -- 2.11.0