git://git.onelab.eu
/
myslice.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
No user password in logs
[myslice.git]
/
plugins
/
raw
/
__init__.py
1
from unfold.plugin import Plugin
2
3
# usage Raw (html="some html text")
4
5
class Raw (Plugin):
6
7
def __init__ (self, html, **kwds):
8
Plugin.__init__ (self, **kwds)
9
self.html=html
10
11
def render_content (self, request):
12
return self.html