git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14258b4
)
api.getCredential should always return a string not an object
author
Tony Mack
<tmack@cs.princeton.edu>
Fri, 23 Oct 2009 14:45:19 +0000
(14:45 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Fri, 23 Oct 2009 14:45:19 +0000
(14:45 +0000)
sfa/plc/api.py
patch
|
blob
|
history
diff --git
a/sfa/plc/api.py
b/sfa/plc/api.py
index
855b0a9
..
01cd8e2
100644
(file)
--- a/
sfa/plc/api.py
+++ b/
sfa/plc/api.py
@@
-170,7
+170,6
@@
class GeniAPI:
else:
return self.getCredentialFromRegistry()
-
def getCredentialFromRegistry(self):
"""
Get our credential from a remote registry using a geniclient connection
@@
-181,7
+180,7
@@
class GeniAPI:
cred_filename = path + os.sep + filename
try:
credential = Credential(filename = cred_filename)
- return credential
+ return credential
.save_to_string(save_parents=True)
except IOError:
from sfa.server.registry import Registries
registries = Registries(self)