Merge pull request #650 from thedrow/patch-1

FileWrapper should inherit from object.
This commit is contained in:
Benoit Chesneau 2013-12-01 06:27:00 -08:00
commit b892edea48

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