X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=blobdiff_plain;f=sfa%2Fplc%2Fpldriver.py;h=d5d5bf9a2b8b66dbc93827824b3956f112a7ef89;hp=a93ebd523eee18b57eaa86f30bd71e301b9a2445;hb=cf630d87d633f3861e3ac8a50433fa29ca46a74e;hpb=ad6330d255e61373e8f506c9ced34715a2d9edac diff --git a/sfa/plc/pldriver.py b/sfa/plc/pldriver.py index a93ebd52..d5d5bf9a 100644 --- a/sfa/plc/pldriver.py +++ b/sfa/plc/pldriver.py @@ -1,12 +1,13 @@ # from sfa.util.faults import MissingSfaInfo, UnknownSfaType from sfa.util.sfalogging import logger -from sfa.util.table import SfaTable from sfa.util.defaultdict import defaultdict - from sfa.util.xrn import hrn_to_urn, get_leaf from sfa.util.plxrn import slicename_to_hrn, hostname_to_hrn, hrn_to_pl_slicename, hrn_to_pl_login_base +# one would think the driver should not need to mess with the SFA db, but.. +from sfa.storage.table import SfaTable + # the driver interface, mostly provides default behaviours from sfa.managers.driver import Driver @@ -418,8 +419,6 @@ class PlDriver (Driver, PlShell): # we obtain # get the sfa records - # xxx thgen fixme - use SfaTable hardwired for now - # table = self.SfaTable() table = SfaTable() person_list, persons = [], {} person_list = table.find({'type': 'user', 'pointer': person_ids})