mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Merge pull request #650 from thedrow/patch-1
FileWrapper should inherit from object.
This commit is contained in:
commit
b892edea48
@ -27,7 +27,7 @@ NORMALIZE_SPACE = re.compile(r'(?:\r\n)?[ \t]+')
|
|||||||
log = logging.getLogger(__name__)
|
log = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
class FileWrapper:
|
class FileWrapper(object):
|
||||||
|
|
||||||
def __init__(self, filelike, blksize=8192):
|
def __init__(self, filelike, blksize=8192):
|
||||||
self.filelike = filelike
|
self.filelike = filelike
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user