diff --git a/src/common/dbus_support.py b/src/common/dbus_support.py index 65b394684d21f6c6e24b630ee42c00b30fecb597..d554f7ab23e2b17193470225a77771f43275df6d 100644 --- a/src/common/dbus_support.py +++ b/src/common/dbus_support.py @@ -16,7 +16,6 @@ ## import os -import sys from common import gajim from common import exceptions diff --git a/src/common/socks5.py b/src/common/socks5.py index 77158b3e35bfeccbe0a6f8ee7fa27716ab0e3d30..80c9a9a67fc0c80d521d4d35f40b15308a9aaa4d 100644 --- a/src/common/socks5.py +++ b/src/common/socks5.py @@ -27,11 +27,8 @@ import socket -import select -import os import struct import sha -import time from dialogs import BindPortError from errno import EWOULDBLOCK @@ -213,7 +210,7 @@ class SocksQueue: sender = self.senders[file_props['hash']] sender.account = account - result = get_file_contents(0) + result = self.get_file_contents(0) self.process_result(result, sender) def result_sha(self, sha_str, idx):