reST plugin broken with current pyblosxom-svn

Philipp Kern <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.devel
Organization The Debian Project (http://www.debian.org)
Message-ID <[email protected]>
Hi there,

rst.py r1034 currently present in the contrib section of the SVN is
broken with the current pyblosxom.  This patch should fix it:

Index: entryparsers/rst.py
===================================================================
--- entryparsers/rst.py (revision 1240)
+++ entryparsers/rst.py (working copy)
@@ -76,8 +76,10 @@
 
 def cb_preformat(args):
     if args.get("parser", None) == PREFORMATTER_ID:
-        return parse(''.join(args['story']), args['request'])
-    
+        return parse(''.join(args['body']), args['request'])
+    else:
+        return ''.join(args['body'])
+
 def parse(story, request):
     config = request.getConfiguration()
     initial_header_level = config.get('reST_initial_header_level', 1)

Kind regards,
Philipp Kern

PS: I am not on the list (if it goes through at all)...
-- 
 .''`.  Philipp Kern                             Debian Developer
: :' :  http://philkern.de                       Debian Release Assistant
`. `'   xmpp:[email protected]
  `-    finger pkern/[email protected]

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

_______________________________________________
Pyblosxom-devel mailing list
Pyblosxom-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/pyblosxom-devel
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIAKFU7Ro5M7LPzdgRAvj1AKDXRkwY6VNpqKHGJI8Yqeiyy24Y/gCeM12d
BArCDN9sYrRJQ07E+/T0Ka0=
=2GS3
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.