oops-need to revert last move
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 1 Dec 2006 14:52:10 +0000 (14:52 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 1 Dec 2006 14:52:10 +0000 (14:52 +0000)
PLC/Cache.py

index 6c573da..535aab4 100644 (file)
@@ -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]