Dataforms: fix a fix
This commit is contained in:
		
							parent
							
								
									7ef57b505d
								
							
						
					
					
						commit
						93f963a1f0
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -13,7 +13,7 @@ class WrongFieldValue(Error): pass	# when we get xmpp.Node which contains bad fi
 | 
			
		|||
class ExtendedNode(xmpp.Node, object):
 | 
			
		||||
	@classmethod
 | 
			
		||||
	def __new__(cls,  *a, **b):
 | 
			
		||||
		if 'extend' not in b.keys() or not b[keys]:
 | 
			
		||||
		if 'extend' not in b.keys() or not b['extend']:
 | 
			
		||||
			return object.__new__(cls)
 | 
			
		||||
 | 
			
		||||
		extend = b['extend']
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue