git://git.onelab.eu
/
unfold.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
toggling is broken within tabs, add a third hazenut for debugging purposes
[unfold.git]
/
unfold
/
plugin.py
diff --git
a/unfold/plugin.py
b/unfold/plugin.py
index
e56690b
..
178cbc6
100644
(file)
--- 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'