File plucker-1.8-bad_code_copy.diff of Package plucker

--- parser/python/PyPlucker/TextParser.py
+++ parser/python/PyPlucker/TextParser.py
@@ -351,9 +351,9 @@
             if 0 <= n <= 255:
                 content = chr (n)
             else:
-                #self._add_unicode_char(val, "&#%d;" % val)
+                #self._add_unicode_char(n, "&#%d;" % n)
                 # Not in a "self", so can't add the unicode properly.
-                content="&#%d" % val
+                content="&#%d" % n
         except ValueError:
             #content = "?"
             # might as well pass it through.  no worse than a "?"
openSUSE Build Service is sponsored by