summaryrefslogtreecommitdiffstats
path: root/module/PullEvents.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/PullEvents.py')
-rw-r--r--module/PullEvents.py10
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):