Dolda2000 GitWeb
/
wrw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d38b200
)
Removed superfluous super() arguments.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Sun, 15 Sep 2013 22:42:19 +0000
(
00:42
+0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Sun, 15 Sep 2013 22:42:19 +0000
(
00:42
+0200)
wrw/sp/xhtml.py
patch
|
blob
|
blame
|
history
diff --git
a/wrw/sp/xhtml.py
b/wrw/sp/xhtml.py
index
50c70b6
..
36b9d60
100644
(file)
--- a/
wrw/sp/xhtml.py
+++ b/
wrw/sp/xhtml.py
@@
-41,7
+41,7
@@
class htmlformatter(util.formatter):
allowshort = set(["br", "hr", "img", "input", "meta", "link"])
def element(self, el, **extra):
if el.name in self.allowshort:
- super(
htmlformatter, self
).element(el, **extra)
+ super().element(el, **extra)
else:
self.longtag(el, **extra)