summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-08 16:41:31 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-08 16:41:31 +0200
commitf42218f4e0dcd3662235380628217ebf495af46e (patch)
treed0e4835550c36911c35bb75be226a1678abba5b7 /module
parentMU account parsing (diff)
downloadpyload-f42218f4e0dcd3662235380628217ebf495af46e.tar.xz
debug prints
Diffstat (limited to 'module')
-rw-r--r--module/FileDatabase.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/module/FileDatabase.py b/module/FileDatabase.py
index 468d7c478..aab8c4342 100644
--- a/module/FileDatabase.py
+++ b/module/FileDatabase.py
@@ -317,6 +317,9 @@ class FileHandler:
#@TODO clean mess
#@TODO improve selection of valid jobs
+ from random import randint
+ jid = randint(0,1000)
+ print "Get file for downloading, id:", jid
if self.jobCache.has_key(occ):
if self.jobCache[occ]:
@@ -351,6 +354,7 @@ class FileHandler:
#pyfile = self.getFile(self.jobCache[occ].pop())
+ print jid, "going to download:", pyfile
return pyfile
#----------------------------------------------------------------------