git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dos2unix
[sfa.git]
/
sfa
/
trust
/
credential.py
diff --git
a/sfa/trust/credential.py
b/sfa/trust/credential.py
index
c4e6982
..
9ccf18f
100644
(file)
--- a/
sfa/trust/credential.py
+++ b/
sfa/trust/credential.py
@@
-364,8
+364,6
@@
class Credential(object):
if not self.gidObject:
self.decode()
return self.gidObject
if not self.gidObject:
self.decode()
return self.gidObject
-
-
##
# Expiration: an absolute UTC time of expiration (as either an int or string or datetime)
##
# Expiration: an absolute UTC time of expiration (as either an int or string or datetime)
@@
-404,8
+402,7
@@
class Credential(object):
if isinstance(privs, str):
self.privileges = Rights(string = privs)
else:
if isinstance(privs, str):
self.privileges = Rights(string = privs)
else:
- self.privileges = privs
-
+ self.privileges = privs
##
# return the privileges as a Rights object
##
# return the privileges as a Rights object