From 5a0cec9717d94cc1c726a150596467ed894ed51a Mon Sep 17 00:00:00 2001 From: mathieui Date: Thu, 28 Feb 2013 22:44:07 +0100 Subject: Fix a traceback due to a sleekxmpp API change - remove the help message for people still using the old custom sleekxmpp repo --- src/connection.py | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to 'src/connection.py') diff --git a/src/connection.py b/src/connection.py index b33e0aab..6217023b 100644 --- a/src/connection.py +++ b/src/connection.py @@ -61,24 +61,13 @@ class Connection(sleekxmpp.ClientXMPP): self.whitespace_keepalive_interval = 300 # Hack to check the sleekxmpp version # TODO: Remove that when a sufficient time has passed since the move - try: - self.register_plugin('xep_0071') - wrong_version = True - except: - wrong_version = False - finally: - if wrong_version: - print("You are using the wrong sleekxmpp version. Please run " - "update.sh again or install the corresponding " - "sleekxmpp package.") - sys.exit() - + self.register_plugin('xep_0004') self.register_plugin('xep_0012') self.register_plugin('xep_0030') - self.register_plugin('xep_0004') self.register_plugin('xep_0045') - self.register_plugin('xep_0060') self.register_plugin('xep_0048') + self.register_plugin('xep_0060') + self.register_plugin('xep_0071') self.register_plugin('xep_0085') self.register_plugin('xep_0191') if config.get('send_poezio_info', 'true') == 'true': -- cgit v1.2.3