diff options
Diffstat (limited to 'module')
-rw-r--r-- | module/FileDatabase.py | 4 |
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 #---------------------------------------------------------------------- |