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
Changing get_user_record into a normal object method.
[sfa.git]
/
sfa
/
cortexlab
/
cortexlabdriver.py
diff --git
a/sfa/cortexlab/cortexlabdriver.py
b/sfa/cortexlab/cortexlabdriver.py
index
00ad867
..
5fc2604
100644
(file)
--- a/
sfa/cortexlab/cortexlabdriver.py
+++ b/
sfa/cortexlab/cortexlabdriver.py
@@
-15,11
+15,12
@@
from sfa.util.xrn import Xrn, hrn_to_urn, get_authority
from sfa.cortexlab.cortexlabaggregate import CortexlabAggregate, \
cortexlab_xrn_to_hostname
from sfa.cortexlab.cortexlabaggregate import CortexlabAggregate, \
cortexlab_xrn_to_hostname
-from sfa.
iotlab.iot
labslices import CortexlabSlices
+from sfa.
cortexlab.cortex
labslices import CortexlabSlices
from sfa.cortexlab.cortexlabshell import CortexlabShell
from sfa.cortexlab.cortexlabshell import CortexlabShell
+
class CortexlabDriver(Driver):
""" Cortexlab Driver class inherited from Driver generic class.
class CortexlabDriver(Driver):
""" Cortexlab Driver class inherited from Driver generic class.
@@
-293,8
+294,8
@@
class CortexlabDriver(Driver):
% (resources, res))
return result
% (resources, res))
return result
- @staticmethod
- def get_user_record(hrn):
+
+ def get_user_record(
self,
hrn):
"""
Returns the user record based on the hrn from the SFA DB .
"""
Returns the user record based on the hrn from the SFA DB .