X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=unfold%2Fplugin.py;h=178cbc6696d799a2289bf72c2e8d230ae4678d99;hb=64be7f204b6f00244951821884a37fb74b3bbe36;hp=e56690b3e78ca3eecdab0d00a44fb6c90c50df2a;hpb=27fa740804c877d7dd19bd2f13fe8db4ed805446;p=myslice.git diff --git a/unfold/plugin.py b/unfold/plugin.py index e56690b3..178cbc66 100644 --- a/unfold/plugin.py +++ b/unfold/plugin.py @@ -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'