Removed unused imports, /common part. Correct a call. Thanks pyflakes
This commit is contained in:
parent
9347fe10e1
commit
9c046b6e5b
2 changed files with 1 additions and 5 deletions
|
@ -16,7 +16,6 @@
|
||||||
##
|
##
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
|
||||||
|
|
||||||
from common import gajim
|
from common import gajim
|
||||||
from common import exceptions
|
from common import exceptions
|
||||||
|
|
|
@ -27,11 +27,8 @@
|
||||||
|
|
||||||
|
|
||||||
import socket
|
import socket
|
||||||
import select
|
|
||||||
import os
|
|
||||||
import struct
|
import struct
|
||||||
import sha
|
import sha
|
||||||
import time
|
|
||||||
from dialogs import BindPortError
|
from dialogs import BindPortError
|
||||||
|
|
||||||
from errno import EWOULDBLOCK
|
from errno import EWOULDBLOCK
|
||||||
|
@ -213,7 +210,7 @@ class SocksQueue:
|
||||||
|
|
||||||
sender = self.senders[file_props['hash']]
|
sender = self.senders[file_props['hash']]
|
||||||
sender.account = account
|
sender.account = account
|
||||||
result = get_file_contents(0)
|
result = self.get_file_contents(0)
|
||||||
self.process_result(result, sender)
|
self.process_result(result, sender)
|
||||||
|
|
||||||
def result_sha(self, sha_str, idx):
|
def result_sha(self, sha_str, idx):
|
||||||
|
|
Loading…
Add table
Reference in a new issue