diff options
| author | 2010-10-09 19:25:55 +0200 | |
|---|---|---|
| committer | 2010-10-09 19:25:55 +0200 | |
| commit | 24589f2160504f2022e90f6c226e6ba9ea4f0992 (patch) | |
| tree | c38c88e9c0e2c1c0defd8e9c8dccb3aba7886241 /module | |
| parent | closed #152 (diff) | |
| download | pyload-24589f2160504f2022e90f6c226e6ba9ea4f0992.tar.xz | |
removed debug prints
Diffstat (limited to 'module')
| -rw-r--r-- | module/FileDatabase.py | 9 | 
1 files changed, 3 insertions, 6 deletions
| diff --git a/module/FileDatabase.py b/module/FileDatabase.py index aab8c4342..57339a128 100644 --- a/module/FileDatabase.py +++ b/module/FileDatabase.py @@ -317,9 +317,6 @@ 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]: @@ -348,13 +345,13 @@ class FileHandler:              if not jobs:                  self.jobCache[occ].append("empty")                  pyfile = None -         -            pyfile = self.getFile(self.jobCache[occ].pop()) +            else: +                pyfile = self.getFile(self.jobCache[occ].pop()) +              #@TODO: maybe the new job has to be approved...          #pyfile = self.getFile(self.jobCache[occ].pop()) -        print jid, "going to download:", pyfile          return pyfile      #---------------------------------------------------------------------- | 
