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
minor bug
[sfa.git]
/
sfa
/
methods
/
get_slices.py
diff --git
a/sfa/methods/get_slices.py
b/sfa/methods/get_slices.py
index
fe5c094
..
402bf0a
100644
(file)
--- a/
sfa/methods/get_slices.py
+++ b/
sfa/methods/get_slices.py
@@
-2,7
+2,6
@@
### $URL$
from sfa.util.faults import *
### $URL$
from sfa.util.faults import *
-from sfa.util.misc import *
from sfa.util.method import Method
from sfa.util.parameter import Parameter, Mixed
from sfa.trust.auth import Auth
from sfa.util.method import Method
from sfa.util.parameter import Parameter, Mixed
from sfa.trust.auth import Auth
@@
-32,7
+31,7
@@
class get_slices(Method):
#log the call
if not origin_hrn:
origin_hrn = user_cred.get_gid_caller().get_hrn()
#log the call
if not origin_hrn:
origin_hrn = user_cred.get_gid_caller().get_hrn()
- self.api.logger.info("interface: %s\tcaller-hrn: %s\ttarget-hrn: %s\tmethod-name: %s"%(self.api.interface, origin_hrn
()
, None, self.name))
+ self.api.logger.info("interface: %s\tcaller-hrn: %s\ttarget-hrn: %s\tmethod-name: %s"%(self.api.interface, origin_hrn, None, self.name))
# validate the cred
self.api.auth.check(cred, 'listslices')
# validate the cred
self.api.auth.check(cred, 'listslices')