fix import

This commit is contained in:
benoitc 2010-02-27 17:32:05 +01:00
parent cb706ea818
commit 49d340ce2b
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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: