Definition at line 343 of file crabFunctions.py.
◆ __init__()
def crabFunctions.CertInfo.__init__ |
( |
|
self | ) |
|
Definition at line 344 of file crabFunctions.py.
344 def __init__( self ):
345 p = subprocess.Popen(
"voms-proxy-info --fqan",
346 stdout = subprocess.PIPE,
347 stderr = subprocess.PIPE,
349 stdout, stderr = p.communicate()
351 if p.returncode != 0:
356 lines = stdout.split(
"\n")
357 splitline = lines[0].
split(
"/")
358 if len(splitline) < 4:
359 splitline = lines[1].
split(
"/")
360 self.vo = splitline[1]
361 self.voGroup = splitline[2]
363 self.voRole = splitline[2].
split(
"=")[1]
364 if "NULL" in self.voRole:
References print().
◆ vo
crabFunctions.CertInfo.vo |
◆ voGroup
crabFunctions.CertInfo.voGroup |
◆ voRole
crabFunctions.CertInfo.voRole |