mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
fix import
This commit is contained in:
parent
cb706ea818
commit
49d340ce2b
@ -7,6 +7,7 @@ import ctypes
|
|||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
|
import socket
|
||||||
import StringIO
|
import StringIO
|
||||||
import sys
|
import sys
|
||||||
from urllib import unquote
|
from urllib import unquote
|
||||||
|
|||||||
@ -40,6 +40,7 @@ class TeeInput(object):
|
|||||||
@property
|
@property
|
||||||
def len(self):
|
def len(self):
|
||||||
if self._len: return self._len
|
if self._len: return self._len
|
||||||
|
|
||||||
if self._is_socket:
|
if self._is_socket:
|
||||||
pos = self.tmp.tell()
|
pos = self.tmp.tell()
|
||||||
while True:
|
while True:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user