We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8ce0b8 commit d4b4151Copy full SHA for d4b4151
src/python/CRABClient/ProxyInteractions.py
@@ -167,7 +167,10 @@ def getInfo(self, username=None):
167
return 0, ''
168
olines = stdout.rstrip().split('\n')
169
trustedRetrievalPolicy = olines[-2]
170
- trustedRetrievers = trustedRetrievalPolicy.split(':')[1].strip()
+ # allow for ':' in the trustedRetrievers DN's (as for robot cert !)
171
+ # by taking everything after the first ':' in myproxy-info output
172
+ # split(':', maxsplit=1) would be more clear, but it is not allowed in python2
173
+ trustedRetrievers = trustedRetrievalPolicy.split(':', 1)[1].strip()
174
times = olines[-1].split(':')
175
hours = int(times[1])
176
mins = int(times[2])
0 commit comments