X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=pdm%2Fcli.py;h=d88ebbd08397c11a5dc957c494df86f6f7dc354c;hb=441160a2bb0e0c4cfca84f5e2005ec00fabced92;hp=da6bcc53d42d27fa9c37b05e46c0aa7e1ca176cd;hpb=7f97a47e579701c8e033ad73259434777f70ef3e;p=pdm.git 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)