From 324c175d028209ca79555f8c80ad3837dcfafc66 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Mon, 6 Sep 2010 11:21:51 +1200 Subject: Fix indentation in previous patch. --- libmproxy/proxy.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'libmproxy/proxy.py') diff --git a/libmproxy/proxy.py b/libmproxy/proxy.py index e7a10d60..9f87f80e 100644 --- a/libmproxy/proxy.py +++ b/libmproxy/proxy.py @@ -193,14 +193,14 @@ class FileLike: pass def read(self, length): - result = '' - while len(result) < length: - data = self.o.read(length) - if not data: - break - result += data - return result - + result = '' + while len(result) < length: + data = self.o.read(length) + if not data: + break + result += data + return result + def readline(self): result = '' while True: -- cgit v1.2.3