Change _py3k check to belong in util.py

feature/documentation-builds-html
Isis Lovecruft 2013-04-15 00:41:50 +00:00
parent a3e4cb661b
commit 0a19ba201c
No known key found for this signature in database
GPG Key ID: A3ADB67A2CDB8B35
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ def _copy_data(instream, outstream):
def _make_binary_stream(s, encoding):
try:
if _py3k:
if util._py3k:
if isinstance(s, str):
s = s.encode(encoding)
else: