summaryrefslogtreecommitdiff
path: root/paste/util
diff options
context:
space:
mode:
authorpjenvey <devnull@localhost>2008-11-19 00:01:35 +0000
committerpjenvey <devnull@localhost>2008-11-19 00:01:35 +0000
commita10d4200a023a7fb4eaaabfeac097e96965a74ef (patch)
tree83adb280a9e1846ade66edff70e0b4ee61edd7b1 /paste/util
parent832c4db10dc053745ee7a7db919a16ed12e9588d (diff)
downloadpaste-a10d4200a023a7fb4eaaabfeac097e96965a74ef.tar.gz
correct r7651 comment, this changed as of 2.5.2
Diffstat (limited to 'paste/util')
-rw-r--r--paste/util/quoting.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/paste/util/quoting.py b/paste/util/quoting.py
index bd3ae0c..b596d7f 100644
--- a/paste/util/quoting.py
+++ b/paste/util/quoting.py
@@ -58,8 +58,8 @@ def html_unquote(s, encoding=None):
"""
if isinstance(s, str):
if s == '':
- # workaround re.sub('', '', u'') returning '' < 2.5.1
- # instead of u'' >= 2.5.1
+ # workaround re.sub('', '', u'') returning '' < 2.5.2
+ # instead of u'' >= 2.5.2
return u''
s = s.decode(encoding or default_encoding)
return _unquote_re.sub(_entity_subber, s)