summaryrefslogtreecommitdiffstats
path: root/module/file_list.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-01-06 22:11:24 +0100
committerGravatar mkaay <mkaay@mkaay.de> 2010-01-06 22:11:24 +0100
commitd2aa3fceb9f896343b128d40f20a0465cf69efca (patch)
treea04d975938f19582b2afa2278107bd07e4c86ad4 /module/file_list.py
parentcli fix, webinterface db check (diff)
downloadpyload-d2aa3fceb9f896343b128d40f20a0465cf69efca.tar.xz
small fixes, new hook stuff
Diffstat (limited to 'module/file_list.py')
-rw-r--r--module/file_list.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/module/file_list.py b/module/file_list.py
index e7b80f26d..ef47df6d9 100644
--- a/module/file_list.py
+++ b/module/file_list.py
@@ -143,6 +143,13 @@ class File_List(object):
files.append(pyfile)
return files
+ def getAllFiles(self):
+ files = []
+ for pypack in self.data["queue"] + self.data["packages"]:
+ for pyfile in pypack.files:
+ files.append(pyfile)
+ return files
+
def countDownloads(self):
return len(self.getDownloadList())