Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitur Kirov <dkirov@gmail.com>2006-05-31 23:17:46 +0400
committerDimitur Kirov <dkirov@gmail.com>2006-05-31 23:17:46 +0400
commit0f74e38b6389839f5412b8003faaa1c20d880db7 (patch)
tree25ee52f28cbbb44a51c0b98947b44f9282f77153
parent8d84010a5204d0e494d95b6779cb7fec9f4a9852 (diff)
merge r6273
-rw-r--r--src/common/proxy65_manager.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/proxy65_manager.py b/src/common/proxy65_manager.py
index 2c4eaf160..5f2a9f528 100644
--- a/src/common/proxy65_manager.py
+++ b/src/common/proxy65_manager.py
@@ -132,11 +132,11 @@ class ProxyResolver:
self.connections.remove(connection)
except ValueError:
pass
- if self.state != S_FINISHED and connection == \
- self.active_connection:
+ if connection == self.active_connection:
self.active_connection = None
- self.state = S_INITIAL
- self.try_next_connection()
+ if self.state != S_FINISHED:
+ self.state = S_INITIAL
+ self.try_next_connection()
def try_next_connection(self):
''' try to resolve proxy with the next possible connection '''