Definition at line 342 of file crabFunctions.py.
def crabFunctions.CertInfo.__init__ |
( |
|
self | ) |
|
Definition at line 343 of file crabFunctions.py.
344 p = subprocess.Popen(
"voms-proxy-info --fqan",
345 stdout = subprocess.PIPE,
346 stderr = subprocess.PIPE,
348 stdout, stderr = p.communicate()
350 if p.returncode != 0:
355 lines = stdout.split(
"\n")
356 splitline = lines[0].
split(
"/")
357 if len(splitline) < 4:
358 splitline = lines[1].
split(
"/")
359 self.
vo = splitline[1]
crabFunctions.CertInfo.vo |
crabFunctions.CertInfo.voGroup |
crabFunctions.CertInfo.voRole |