diff options
| author | 2010-10-08 16:41:31 +0200 | |
|---|---|---|
| committer | 2010-10-08 16:41:31 +0200 | |
| commit | f42218f4e0dcd3662235380628217ebf495af46e (patch) | |
| tree | d0e4835550c36911c35bb75be226a1678abba5b7 | |
| parent | MU account parsing (diff) | |
| download | pyload-f42218f4e0dcd3662235380628217ebf495af46e.tar.xz | |
debug prints
| -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 #---------------------------------------------------------------------- |
