Example #1
0
 def Do(self, item):
   badger = Badger()
   result = badger.downloadFilesByFilelist([item])#,destDir)
   if not result['OK']:
     #print result['Message'],type(result['Message'])
     errorDict.update(result['Message'])
     print errorDict
Example #2
0
 def Do(self, item):
     badger = Badger()
     #print "world"
     result = badger.downloadFilesByFilelist([item])  #,destDir)
     #print "result",result
     if result['OK']:
         self.db[item] = '2'
         self.db.sync()