[PATCH] Workaround failure when trying to edit
Hello,
I wanted to mimic Kalles design on a python-moin installation I got.
python-moin 1.7.1-3+lenny5
When trying to edit the wiki, I got a message that 'title_with_separators' was
not available.
I fixed this problem aplying the following patch:
Cloned sources: <git://git.deb.at/deb/moinmoin.git>
>From 3a8d4a52dd9dd559c2c27eb509578dc7d6a4a4ba Mon Sep 17 00:00:00 2001
From: Hector Oron <hector.oron@gmail.com>
Date: Wed, 23 Mar 2011 15:38:20 +0000
Subject: [PATCH] Workaround an edit failure, there is not title_with_separators function available on 1.7 moinmoin
Signed-off-by: Hector Oron <hector.oron@gmail.com>
---
theme/debwiki.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/theme/debwiki.py b/theme/debwiki.py
index c8094fc..9ec51a5 100644
--- a/theme/debwiki.py
+++ b/theme/debwiki.py
@@ -137,7 +137,8 @@ class Theme(ThemeBase):
# Header
u'<div id="header">',
u'<h1 id="locationline">',
- self.title_with_separators(d),
+ #self.title_with_separators(d),
+ self.title(d),
u'</h1>',
self.msg(d),
u'</div>',
--
1.5.6.5
Best regards,
--
Héctor Orón
"Our Sun unleashes tremendous flares expelling hot gas into the Solar System, which one day will disconnect us."
-- Day DVB-T stop working nicely
Video flare: http://antwrp.gsfc.nasa.gov/apod/ap100510.html
Reply to: