oops, fix it properly
This commit is contained in:
parent
876dea8297
commit
c84939744f
|
@ -244,7 +244,7 @@ class Connection(protocol.Protocol, policies.TimeoutMixin):
|
|||
if self.state == "records":
|
||||
return self.dataReceivedRECORDS()
|
||||
if self.state == "hung up":
|
||||
pass
|
||||
return
|
||||
if isinstance(self.state, Exception): # for tests
|
||||
raise self.state
|
||||
raise ValueError("internal error: unknown state %s" % (self.state,))
|
||||
|
|
Loading…
Reference in New Issue
Block a user