diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2010-09-06 11:21:51 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2010-09-06 11:21:51 +1200 |
commit | 324c175d028209ca79555f8c80ad3837dcfafc66 (patch) | |
tree | 08ea01699dd9e99fae0c5b3a7158e125d8eb6a84 | |
parent | 2e7e9f9759bab5253a008cdabe0df42551bae922 (diff) | |
download | mitmproxy-324c175d028209ca79555f8c80ad3837dcfafc66.tar.gz mitmproxy-324c175d028209ca79555f8c80ad3837dcfafc66.tar.bz2 mitmproxy-324c175d028209ca79555f8c80ad3837dcfafc66.zip |
Fix indentation in previous patch.
-rw-r--r-- | libmproxy/proxy.py | 16 |
1 files changed, 8 insertions, 8 deletions
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: |