[viewvc-users] RSS Feed broken in 1.1.14 if non-HTMLized
Christoph Sommer <[email protected]> Mon, 18 Jun 2012 11:42:05 -0700
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Message-ID | <[email protected]> |
Dear all, without an additional `log = self.log', the `LogFormatter::get' method refuses to run when htmlize==0. I did not investigate further, as adding this seems to have worked around the problem. Cheers, Christoph -- Dr.-Ing. Christoph Sommer Institute of Computer Science University of Innsbruck, Austria Phone: +43 512 507-96835 / Fax: -9888 http://ccs.uibk.ac.at/~sommer/ ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2971898 To unsubscribe from this discussion, e-mail: [[email protected]].
rss.patch
(text/x-patch, 375 B)
--- viewvc.py 2012-06-18 20:36:29.894736923 +0200
+++ viewvc.py 2012-06-18 20:36:23.634526648 +0200
@@ -1381,6 +1381,7 @@
# But if we're not HTML-izing...
else:
+ log = self.log
# ...then do much more simplistic transformations as necessary.
if cfg.options.mangle_email_addresses == 2:
log = re.sub(_re_rewrite_email, r'\1@...', log)