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() ) ) |