Gajim need latest nbxmpp version
This commit is contained in:
		
							parent
							
								
									0fb4f69855
								
							
						
					
					
						commit
						7887f52ed7
					
				
					 1 changed files with 9 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -68,6 +68,15 @@ except ImportError:
 | 
			
		|||
    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',
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue