X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fcortexlab%2Fcortexlabdriver.py;h=5fc2604978133ce779500e98499b09ad992b4aa3;hb=8e2dae64ec980df7f4fb309afe517556703d68fa;hp=00ad8675dbe2702b74b8082a89501fa0164eae2d;hpb=a1ae66cabca988634059e1324c3a582b9aba9551;p=sfa.git diff --git a/sfa/cortexlab/cortexlabdriver.py b/sfa/cortexlab/cortexlabdriver.py index 00ad8675..5fc26049 100644 --- 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.iotlab.iotlabslices import CortexlabSlices +from sfa.cortexlab.cortexlabslices import CortexlabSlices from sfa.cortexlab.cortexlabshell import CortexlabShell + class CortexlabDriver(Driver): """ Cortexlab Driver class inherited from Driver generic class. @@ -293,8 +294,8 @@ class CortexlabDriver(Driver): % (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 .