From 12856a61a3106b7e8f3d25b0e74d1aa0e43ed979 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Fri, 1 Dec 2006 14:52:10 +0000 Subject: [PATCH] oops-need to revert last move --- PLC/Cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PLC/Cache.py b/PLC/Cache.py index 6c573da..535aab4 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] -- 2.43.0