summaryrefslogtreecommitdiffstats
path: root/module/file_list.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/file_list.py')
-rw-r--r--module/file_list.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/module/file_list.py b/module/file_list.py
index b9f70bd27..d251868b9 100644
--- a/module/file_list.py
+++ b/module/file_list.py
@@ -84,11 +84,11 @@ class File_List(object):
self.lock.release()
if len(self.data["collector"]) > 0:
- self.core.logger.info("Found %s links in linkcollector" % len(self.data["collector"]))
+ self.core.logger.info(_("Found %s links in linkcollector") % len(self.data["collector"]))
if len(self.data["packages"]) > 0:
- self.core.logger.info("Found %s unqueued packages" % len(self.data["packages"]))
+ self.core.logger.info(_("Found %s unqueued packages") % len(self.data["packages"]))
if len(self.data["queue"]) > 0:
- self.core.logger.info("Added %s packages to queue" % len(self.data["queue"]))
+ self.core.logger.info(_("Added %s packages to queue") % len(self.data["queue"]))
def save(self):
self.lock.acquire()
@@ -298,8 +298,6 @@ class File_List(object):
pyfile.plugin.req.abort = True
sleep(0.1)
del packager.file_list.data[key][n]
- if key == "packages":
- key = "collector"
packager.file_list.core.pullManager.addEvent(RemoveEvent("pack", id, key))
finally:
packager.file_list.lock.release()