more compact/readable html output for the menu section
[unfold.git] / unfold / plugin.py
index c2bca29..178cbc6 100644 (file)
@@ -16,7 +16,7 @@ from unfold.prelude import Prelude
 # . True : to debug all plugin
 
 DEBUG= False
-#DEBUG= [ 'SliceList' ]
+#DEBUG= [ 'SimpleList' ]
 #DEBUG=True
 
 # decorator to deflect calls on Plugin to its Prelude through self.page.prelude
@@ -80,6 +80,9 @@ class Plugin:
         # do this only once the structure is fine
         self.page.record_plugin(self)
 
+    def __repr__ (self):
+        return "[%s]:%s"%(self.classname,self.domid)
+
     def _py_classname (self): 
         try:    return self.__class__.__name__
         except: return 'Plugin'