From f42218f4e0dcd3662235380628217ebf495af46e Mon Sep 17 00:00:00 2001 From: RaNaN Date: Fri, 8 Oct 2010 16:41:31 +0200 Subject: debug prints --- module/FileDatabase.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'module/FileDatabase.py') 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 #---------------------------------------------------------------------- -- cgit v1.2.3