/[pdpsoft]/trunk/nl.nikhef.pdp.lrmsutils/lcg-gip/lcg-info-dynamic-scheduler.cin
ViewVC logotype

Diff of /trunk/nl.nikhef.pdp.lrmsutils/lcg-gip/lcg-info-dynamic-scheduler.cin

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 106 by templon, Fri Feb 27 15:45:58 2009 UTC revision 107 by templon, Mon Mar 2 14:16:10 2009 UTC
# Line 212  for line in lines: Line 212  for line in lines:
212          thisview.queuename = qname          thisview.queuename = qname
213      elif s.find('GlueCEAccessControlBaseRule:') == 0:      elif s.find('GlueCEAccessControlBaseRule:') == 0:
214          loc = s.find(':') + 1          loc = s.find(':') + 1
215            if loc == len(s):
216                abort_without_output("In static LDIF file, ACBR is " +
217                                     "missing a value: " + s)
218          rule = s[loc:].split(":")          rule = s[loc:].split(":")
219          if rule[0].strip() in ['VO', 'VOMS']:          if rule[0].strip() in ['VO', 'VOMS']:
220              thisview.ACBRs.append(  ( rule[0].strip(), rule[1].strip() )  )              thisview.ACBRs.append(  ( rule[0].strip(), rule[1].strip() )  )

Legend:
Removed from v.106  
changed lines
  Added in v.107

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28