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

Comparing COMP/CRAB/python/SchedulerGlite.py (file contents):
Revision 1.5 by slacapra, Thu Oct 12 10:08:48 2006 UTC vs.
Revision 1.6 by slacapra, Thu Oct 12 14:51:12 2006 UTC

# Line 90 | Line 90 | class SchedulerGlite(SchedulerEdg):
90              param_file = open(common.work_space.shareDir()+'/'+self.param, 'w')
91  
92              itr4=self.findSites_(first[i])
93 <            req1=[]  
93 >            reqSites=''
94 >            reqtmp=[]  
95              j = 0
96              concString = '||'
97              for arg in itr4:
98                  #############
99                  # MC Changed matching syntax to avoid gang matching
100                  #############
101 <                req1.append(' Member("'+arg+'" , other.GlueCESEBindGroupSEUniqueID) ')
102 <            if len(req1): req = req + " && (" + concString.join(req1) + ')'
103 <            req = req + ';\n'
104 <            param_file.write('Requirements = ' + req )
101 >                reqtmp.append(' Member("'+arg+'" , other.GlueCESEBindGroupSEUniqueID) ')
102 >            if len(reqtmp): reqSites = reqSites + " && (" + concString.join(reqtmp) + ')'
103 >            reqSites = reqSites + ';\n'
104 >            param_file.write('Requirements = ' + req + reqSites )
105    
106   #            if (self.edg_config and self.edg_config_vo != ''):
107   #               param_file.write('RBconfig = "'+self.edg_config+'";\n')  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines