changeset 41bf4a5998d3 in /home/hg/repos/gajim
author: tmolitor <[email protected]>
branches:
details:http://hg.gajim.org/gajim?cmd=changeset;node=41bf4a5998d3
description: made Link Mauve's patch python 3 ready
diffstat:
src/common/proxy65_manager.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 06207bfa2cd8 -r 41bf4a5998d3 src/common/proxy65_manager.py
--- a/src/common/proxy65_manager.py Tue Aug 02 14:09:22 2016 +0100
+++ b/src/common/proxy65_manager.py Sat Aug 06 23:46:57 2016 +0200
@@ -88,7 +88,7 @@
port = item.getAttr('port')
try:
port = int(port)
- except ValueError, TypeError:
+ except (ValueError, TypeError) as e:
port = 1080
if not host or not jid:
self.proxies[proxy]._on_connect_failure()
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits