From: Fredrik Tolf Date: Wed, 23 Nov 2011 00:53:47 +0000 (+0100) Subject: Fixed client bug. X-Git-Tag: 0.1~13 X-Git-Url: http://dolda2000.com/gitweb/?p=pdm.git;a=commitdiff_plain;h=441160a2bb0e0c4cfca84f5e2005ec00fabced92 Fixed client bug. --- 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)