summaryrefslogtreecommitdiffstats
path: root/module/remote/thriftbackend/Transport.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/remote/thriftbackend/Transport.py')
-rw-r--r--module/remote/thriftbackend/Transport.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/remote/thriftbackend/Transport.py b/module/remote/thriftbackend/Transport.py
index 5772c5a9e..7db4ba9d7 100644
--- a/module/remote/thriftbackend/Transport.py
+++ b/module/remote/thriftbackend/Transport.py
@@ -19,12 +19,12 @@ class TransportCompressed(TZlibTransport):
self.handle = trans.handle
self.remoteaddr = trans.handle.getpeername()
-class TransportFactory:
+class TransportFactory(object):
def getTransport(self, trans):
buffered = Transport(trans)
return buffered
-class TransportFactoryCompressed:
+class TransportFactoryCompressed(object):
_last_trans = None
_last_z = None
@@ -34,4 +34,4 @@ class TransportFactoryCompressed:
ztrans = TransportCompressed(Transport(trans), compresslevel)
self._last_trans = trans
self._last_z = ztrans
- return ztrans \ No newline at end of file
+ return ztrans