FileWrapper should inherit from object.

This commit is contained in:
Omer Katz 2013-12-01 16:08:37 +02:00
parent 88abcc73d9
commit ce92230bd3

View File

@ -27,7 +27,7 @@ NORMALIZE_SPACE = re.compile(r'(?:\r\n)?[ \t]+')
log = logging.getLogger(__name__)
class FileWrapper:
class FileWrapper(object):
def __init__(self, filelike, blksize=8192):
self.filelike = filelike