]> git.ipfire.org Git - thirdparty/dnspython.git/commit
Explicitly use bytes to avoid TypeError with concatenation 159/head
authorNathan Henrie <nate@n8henrie.com>
Sat, 14 May 2016 21:28:58 +0000 (15:28 -0600)
committerNathan Henrie <nate@n8henrie.com>
Sat, 14 May 2016 21:28:58 +0000 (15:28 -0600)
commit6eff53b229a525ed434b5ce78e43709c0b069a9c
tree9fe04645df13f17a2988b44da69f8ef71f260e2b
parentf99a01bf3028bd460db50ac57e040176f7ddf295
Explicitly use bytes to avoid TypeError with concatenation

Fixes rthalley/dnspython#157

On Python3, this previously would raise a TypeError when one tried to
add bytes and a string, this initializes s and n to bytes instead.
dns/query.py