do not use from foo import bar
This commit is contained in:
		
							parent
							
								
									1b0f153e42
								
							
						
					
					
						commit
						ca7a1e60e9
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1123,8 +1123,8 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco)
 | 
			
		|||
		if answer == 'yes':
 | 
			
		||||
			self.connection.send(iq_obj.buildReply('result'))
 | 
			
		||||
		elif answer == 'no':
 | 
			
		||||
			from common.xmpp.protocol import ERR_NOT_AUTHORIZED
 | 
			
		||||
			err = common.xmpp.Error(iq_obj, ERR_NOT_AUTHORIZED)
 | 
			
		||||
			err = common.xmpp.Error(iq_obj,
 | 
			
		||||
				common.xmpp.protocol.ERR_NOT_AUTHORIZED)
 | 
			
		||||
			self.connection.send(err)
 | 
			
		||||
	
 | 
			
		||||
	def _HttpAuthCB(self, con, iq_obj):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue