File: 11_fixregression.dpatch

package info (click to toggle)
roundup 1.2.1-10%2Betch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 4,764 kB
  • ctags: 3,756
  • sloc: python: 30,296; sh: 1,497; perl: 23; makefile: 22
file content (19 lines) | stat: -rw-r--r-- 789 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /bin/sh /usr/share/dpatch/dpatch-run
## 11_fixregression.dpatch by Thijs Kinkhorst <thijs@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Fix regression introduced in DSA-1554-1

@DPATCH@
diff -urNad roundup-1.2.1~/roundup/cgi/templating.py roundup-1.2.1/roundup/cgi/templating.py
--- roundup-1.2.1~/roundup/cgi/templating.py	2009-03-28 19:43:49.000000000 +0100
+++ roundup-1.2.1/roundup/cgi/templating.py	2009-03-28 19:44:07.000000000 +0100
@@ -1746,7 +1746,7 @@
         i = HTMLItem(self._client, self._prop.classname, self._value)
         return getattr(i, attr)
 
-    def plain(self, escape=0):
+    def plain(self, escape=1):
         ''' Render a "plain" representation of the property
         '''
         if not self.is_view_ok():