Skip to content
This repository was archived by the owner on May 5, 2020. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion txsockjs/protocols/websocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def getPeer(self):
return address.IPv6Address("TCP", ip, None)
return ProtocolWrapper.getPeer(self)

class JsonProtocol(PeerOverrideProtocol):
class JsonProtocol(PeerOverrideProtocol, object):
def makeConnection(self, transport):
directlyProvides(self, providedBy(transport))
Protocol.makeConnection(self, transport)
Expand Down
2 changes: 1 addition & 1 deletion txsockjs/websockets.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def _parseFrames(buf):



class _WebSocketsProtocol(ProtocolWrapper):
class _WebSocketsProtocol(ProtocolWrapper, object):
"""
Protocol which wraps another protocol to provide a WebSockets transport
layer.
Expand Down