require nbxmpp 0.3.1
This commit is contained in:
		
							parent
							
								
									bb7442b580
								
							
						
					
					
						commit
						a0ecc52e20
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -70,11 +70,11 @@ except ImportError:
 | 
			
		|||
 | 
			
		||||
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...')
 | 
			
		||||
    if V(nbxmpp.__version__) < V("0.3.1"):
 | 
			
		||||
        print('Gajim needs python-nbxmpp > 0.3.1 to run. Quiting...')
 | 
			
		||||
        sys.exit()
 | 
			
		||||
except:
 | 
			
		||||
    print('Gajim needs python-nbxmpp > 0.3 to run. Quiting...')
 | 
			
		||||
    print('Gajim needs python-nbxmpp > 0.3.1 to run. Quiting...')
 | 
			
		||||
    sys.exit()
 | 
			
		||||
 | 
			
		||||
#from common import demandimport
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue