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:
0d80e43
)
fix tabs
author
Tony Mack
<tmack@cs.princeton.edu>
Thu, 10 Sep 2009 23:38:59 +0000
(23:38 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Thu, 10 Sep 2009 23:38:59 +0000
(23:38 +0000)
sfa/methods/resolve.py
patch
|
blob
|
history
diff --git
a/sfa/methods/resolve.py
b/sfa/methods/resolve.py
index
c326194
..
5f047cb
100644
(file)
--- a/
sfa/methods/resolve.py
+++ b/
sfa/methods/resolve.py
@@
-32,12
+32,12
@@
class resolve(Method):
def call(self, cred, hrn, caller_cred=None):
def call(self, cred, hrn, caller_cred=None):
- self.api.auth.check(cred, 'resolve')
- if caller_cred==None:
- caller_cred=cred
+
self.api.auth.check(cred, 'resolve')
+
if caller_cred==None:
+
caller_cred=cred
- #log the call
- self.api.logger.info("interface: %s\tcaller-hrn: %s\ttarget-hrn: %s\tmethod-name: %s"%(self.api.interface, Credential(string=caller_cred).get_gid_caller().get_hrn(), hrn, self.name))
+
#log the call
+
self.api.logger.info("interface: %s\tcaller-hrn: %s\ttarget-hrn: %s\tmethod-name: %s"%(self.api.interface, Credential(string=caller_cred).get_gid_caller().get_hrn(), hrn, self.name))
good_records = []
# load all know registry names into a prefix tree and attempt to find
good_records = []
# load all know registry names into a prefix tree and attempt to find