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

Comparing COMP/CRAB/python/InspectDBS.py (file contents):
Revision 1.2 by fanzago, Thu May 28 15:36:38 2009 UTC vs.
Revision 1.3 by fanzago, Fri Apr 1 10:38:54 2011 UTC

# Line 69 | Line 69 | class InspectDBS(Actor):
69          #//
70              if len(dataset.get('PathList'))==0:
71                  print "===== Empty dataset yet /%s/%s with tiers %s"%(dataset.get('PrimaryDataset')['Name'],dataset.get('Name'),dataset.get('TierList'))
72 <            else:    
72 >            else:
73                  for datasetpath in dataset.get('PathList'):
74                      nevttot=0
75                      print "=== dataset %s"%datasetpath
76 +                    ### FEDE #######
77 +                    if dataset['Description'] != None:
78 +                        print "=== dataset description = ", dataset['Description']
79 +                    ################    
80                      blocks=dbsreader.getFileBlocksInfo(datasetpath)
81                      for block in blocks:
82                          SEList=dbsreader.listFileBlockLocation(block['Name'])  # replace that with DLS query

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines