[thorstenp] fix access to members before definition
This commit is contained in:
parent
60ba33eb31
commit
1865294a25
|
@ -74,6 +74,7 @@ except Exception:
|
||||||
class ConnectionBytestream:
|
class ConnectionBytestream:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.files_props = {}
|
self.files_props = {}
|
||||||
|
self.awaiting_xmpp_ping_id = None
|
||||||
|
|
||||||
def is_transfer_stopped(self, file_props):
|
def is_transfer_stopped(self, file_props):
|
||||||
if 'error' in file_props and file_props['error'] != 0:
|
if 'error' in file_props and file_props['error'] != 0:
|
||||||
|
@ -1387,6 +1388,7 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco,
|
||||||
self.version_ids = []
|
self.version_ids = []
|
||||||
# ID of urn:xmpp:ping requests
|
# ID of urn:xmpp:ping requests
|
||||||
self.awaiting_xmpp_ping_id = None
|
self.awaiting_xmpp_ping_id = None
|
||||||
|
self.continue_connect_info = None
|
||||||
|
|
||||||
try:
|
try:
|
||||||
idle.init()
|
idle.init()
|
||||||
|
|
|
@ -432,6 +432,7 @@ class ServiceDiscoveryWindow(object):
|
||||||
self.browser = None
|
self.browser = None
|
||||||
self.children = []
|
self.children = []
|
||||||
self.dying = False
|
self.dying = False
|
||||||
|
self.node = None
|
||||||
|
|
||||||
# Check connection
|
# Check connection
|
||||||
if gajim.connections[account].connected < 2:
|
if gajim.connections[account].connected < 2:
|
||||||
|
|
Loading…
Reference in New Issue