start pep8 cleanup
This commit is contained in:
parent
024624045f
commit
bcbec29653
7 changed files with 9 additions and 56 deletions
|
|
@ -247,7 +247,6 @@ class fakesock(object):
|
|||
return self.fd
|
||||
|
||||
def _true_sendall(self, data, *args, **kw):
|
||||
import pdb;pdb.set_trace()
|
||||
self.truesock.connect(self._address)
|
||||
self.truesock.sendall(data, *args, **kw)
|
||||
_d = self.truesock.recv(16)
|
||||
|
|
@ -266,7 +265,6 @@ class fakesock(object):
|
|||
hostnames = [getattr(i.info, 'hostname', None) for i in HTTPretty._entries.keys()]
|
||||
self.fd.seek(0)
|
||||
try:
|
||||
#print("data", data)
|
||||
requestline, _ = data.split('\r\n', 1)
|
||||
method, path, version = parse_requestline(requestline)
|
||||
is_parsing_headers = True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue