summaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2016-06-18 06:51:36 -0700
committerBob Halley <halley@dnspython.org>2016-06-18 06:51:36 -0700
commit257f2ae5d3c4e4dc93ccd472c4717c6b705c6e6d (patch)
treec2b21f334105434f190bffeeb2b935f10eec691b /dns
parenta55e23fbc4b960ca7f88342a89404fc07293096c (diff)
downloaddnspython-257f2ae5d3c4e4dc93ccd472c4717c6b705c6e6d.tar.gz
Fix another Python 2/3 code merge unicode issue.
Diffstat (limited to 'dns')
-rw-r--r--dns/name.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dns/name.py b/dns/name.py
index 7a874b8..5d017a3 100644
--- a/dns/name.py
+++ b/dns/name.py
@@ -123,7 +123,7 @@ def _escapify(label, unicode_mode=False):
if c >= u'\x7f':
text += c
else:
- text += u'\\%03d' % c
+ text += u'\\%03d' % ord(c)
return text