mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-24 13:05:50 +00:00
Python 3 is grumpy that it doesn't get to play
Fool it
This commit is contained in:
parent
24e7dcfcd8
commit
8ca1f8c335
@ -28,6 +28,7 @@ if PY2:
|
||||
Builtin ``print``-alike that will even write unicode not encodeable using
|
||||
the specified output file's encoding.
|
||||
"""
|
||||
from past.builtins import unicode
|
||||
out = kwargs.pop("file", None)
|
||||
if out is None:
|
||||
from sys import stdout as out
|
||||
|
Loading…
x
Reference in New Issue
Block a user