changeset c749820e0225 in /home/hg/repos/gajim
author: Yann Leboulanger <[email protected]>
branches: gtk3
details:http://hg.gajim.org/gajim?cmd=changeset;node=c749820e0225
description: Gajim need latest nbxmpp version
diffstat:
src/gajim.py | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diffs (19 lines):
diff -r e575b06d2ddd -r c749820e0225 src/gajim.py
--- a/src/gajim.py Mon Dec 23 16:03:39 2013 +0100
+++ b/src/gajim.py Mon Dec 23 16:56:58 2013 +0100
@@ -68,6 +68,15 @@
print('Gajim needs python-nbxmpp to run. Quiting...')
sys.exit()
+try:
+ from distutils.version import LooseVersion as V
+ if V(nbxmpp.__version__) < V("0.3"):
+ print 'Gajim needs python-nbxmpp > 0.3 to run. Quiting...'
+ sys.exit()
+except:
+ print 'Gajim needs python-nbxmpp > 0.3 to run. Quiting...'
+ sys.exit()
+
#from common import demandimport
#demandimport.enable()
#demandimport.ignore += ['GObject._gobject', 'libasyncns', 'i18n',
_______________________________________________
Commits mailing list
[email protected]
http://lists.gajim.org/cgi-bin/listinfo/commits