Fix several bugs caused or exposed by running in Python 3.
This commit is contained in:
1 parent
471350cea8
commit
c8b3e7a809
6 files changed
+15
-23
No files matched your search
@@ -70,6 +70,8 @@ class EncryptedFileObjectWrapper(object):
|
||||
def read(self, length):
|
||||
return self.decryptor.update(self.actual_file_object.read(length))
|
||||
|
||||
def fileno(self):
|
||||
return self.actual_file_object.fileno()
|
||||
|
||||
class EncryptedSocketWrapper(object):
|
||||
def __init__(self, socket, encryptor, decryptor):
|
||||
|
||||
Reference in new issue
Block a user