ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CRAB/python/GetOutput.py
(Generate patch)

Comparing COMP/CRAB/python/GetOutput.py (file contents):
Revision 1.34 by spiga, Sat Aug 30 10:54:47 2008 UTC vs.
Revision 1.35 by spiga, Sat Aug 30 11:02:00 2008 UTC

# Line 59 | Line 59 | class GetOutput(Actor):
59          check = -1
60          if self.jobs != 'all': check = len( set(self.jobs).intersection(set(list_id_done)) )  
61          if len(list_id_done)==0 or ( check == 0 ) :
62 <            msg=''    
63 <            list_ID=[]
64 < #            for st,stDetail in self.possible_status.iteritems():
65 < #                list_ID = common._db.queryAttrRunJob({'status':st},'jobId')
66 < #                if len(list_ID)>0: msg += "       %i Jobs in status: %s \n" % (len(list_ID), str(stDetail))  
67 <            msg += 'Jobs %s are not in Done status. It is not possible yet to retrieve the output.'% readableList(self,self.jobs)
62 >            msg=''  
63 >            list_jobs=self.jobs
64 >            if self.jobs == 'all': list_jobs=self.all_id
65 >            msg += 'Jobs %s are not in Done status. It is not possible yet to retrieve the output.'% readableList(self,list_jobs)
66              raise CrabException(msg)
67          else:
68              if self.jobs == 'all':

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines