Fixed client bug.
authorFredrik Tolf <fredrik@dolda2000.com>
Wed, 23 Nov 2011 00:53:47 +0000 (01:53 +0100)
committerFredrik Tolf <fredrik@dolda2000.com>
Wed, 23 Nov 2011 00:53:47 +0000 (01:53 +0100)
pdm/cli.py

index da6bcc5..d88ebbd 100644 (file)
@@ -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)