Package: python-moinmoin
Severity: important
Version: 1.7.1-3+lenny5

Hi,

it seems logging in with the wrong user name will give a page like:
http://people.freedesktop.org/~jcristau/moinmoin-fail.html 

The reason for this is a missing import of wikiutil in
/usr/share/python-support/python-moinmoin/MoinMoin/wikiutil.py, so a
trivial patch like:

# diff -u /tmp/login.py 
/var/lib/python-support/python2.5/MoinMoin/action/login.py
--- /tmp/login.py       2010-09-03 07:18:52.000000000 +0200
+++ /var/lib/python-support/python2.5/MoinMoin/action/login.py  2010-09-03 
07:19:03.000000000 +0200
@@ -10,7 +10,7 @@
     @license: GNU GPL, see COPYING for details.
 """
 
-from MoinMoin import userform
+from MoinMoin import userform, wikiutil
 from MoinMoin.Page import Page
 from MoinMoin.widget import html
 

fixes this.

It would be great if this could be patched in stable, somehow.

Regards,
-- 
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to