From: Thierry Parmentelat Date: Fri, 1 Dec 2006 14:52:10 +0000 (+0000) Subject: oops-need to revert last move X-Git-Tag: pycurl-7_13_1~216 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=12856a61a3106b7e8f3d25b0e74d1aa0e43ed979;p=plcapi.git oops-need to revert last move --- diff --git a/PLC/Cache.py b/PLC/Cache.py index 6c573da6..535aab46 100644 --- a/PLC/Cache.py +++ b/PLC/Cache.py @@ -13,7 +13,7 @@ def verbose (*args): def class_attributes (classname): """ locates various attributes defined in the row class """ - topmodule = __import__ ('PLC') + topmodule = __import__ ('PLC.%ss'%classname) module = topmodule.__dict__['%ss'%classname] # local row-like class, e.g. Node row_class = module.__dict__['%s'%classname]