diff options
author | mkaay <mkaay@mkaay.de> | 2010-08-04 21:20:11 +0200 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2010-08-04 21:20:11 +0200 |
commit | 30dbda33363d747c742a451ca5aba717de8a7044 (patch) | |
tree | d8b326dcb852862683052252155cea7f0e4d6f03 /module/PullEvents.py | |
parent | netload, ocr (diff) | |
download | pyload-30dbda33363d747c742a451ca5aba717de8a7044.tar.xz |
fixed pull manager, fixed gui stuff
Diffstat (limited to 'module/PullEvents.py')
-rw-r--r-- | module/PullEvents.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/module/PullEvents.py b/module/PullEvents.py index 7b23cf8b8..bbb3f3e6b 100644 --- a/module/PullEvents.py +++ b/module/PullEvents.py @@ -44,7 +44,7 @@ class PullManager(): break if not validUuid: self.newClient(uuid) - events = [ReloadAllEvent("queue").toList(), ReloadAllEvent("packages").toList(), ReloadAllEvent("collector").toList()] + events = [ReloadAllEvent("queue").toList(), ReloadAllEvent("collector").toList()] return events def addEvent(self, event): @@ -71,7 +71,7 @@ class Client(): class UpdateEvent(): def __init__(self, itype, iid, destination): assert itype == "pack" or itype == "file" - assert destination == "queue" or destination == "collector" or destination == "packages" + assert destination == "queue" or destination == "collector" self.type = itype self.id = iid self.destination = destination @@ -82,7 +82,7 @@ class UpdateEvent(): class RemoveEvent(): def __init__(self, itype, iid, destination): assert itype == "pack" or itype == "file" - assert destination == "queue" or destination == "collector" or destination == "packages" + assert destination == "queue" or destination == "collector" self.type = itype self.id = iid self.destination = destination @@ -93,7 +93,7 @@ class RemoveEvent(): class InsertEvent(): def __init__(self, itype, iid, after, destination): assert itype == "pack" or itype == "file" - assert destination == "queue" or destination == "collector" or destination == "packages" + assert destination == "queue" or destination == "collector" self.type = itype self.id = iid self.after = after @@ -104,7 +104,7 @@ class InsertEvent(): class ReloadAllEvent(): def __init__(self, destination): - assert destination == "queue" or destination == "collector" or destination == "packages" + assert destination == "queue" or destination == "collector" self.destination = destination def toList(self): |