Gajim need latest nbxmpp version
This commit is contained in:
parent
0fb4f69855
commit
7887f52ed7
|
@ -68,6 +68,15 @@ except ImportError:
|
||||||
print('Gajim needs python-nbxmpp to run. Quiting...')
|
print('Gajim needs python-nbxmpp to run. Quiting...')
|
||||||
sys.exit()
|
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
|
#from common import demandimport
|
||||||
#demandimport.enable()
|
#demandimport.enable()
|
||||||
#demandimport.ignore += ['GObject._gobject', 'libasyncns', 'i18n',
|
#demandimport.ignore += ['GObject._gobject', 'libasyncns', 'i18n',
|
||||||
|
|
Loading…
Reference in New Issue