[misc] init Node in MultipleDataForm only once. Fixes #3228
This commit is contained in:
		
							parent
							
								
									7b87c829fb
								
							
						
					
					
						commit
						867199a89f
					
				
					 1 changed files with 0 additions and 2 deletions
				
			
		| 
						 | 
					@ -390,8 +390,6 @@ class MultipleDataForm(DataForm):
 | 
				
			||||||
		DataForm.__init__(self, type=type, title=title, instructions=instructions, extend=extend)
 | 
							DataForm.__init__(self, type=type, title=title, instructions=instructions, extend=extend)
 | 
				
			||||||
		# all records, recorded into DataRecords
 | 
							# all records, recorded into DataRecords
 | 
				
			||||||
		if extend is None:
 | 
							if extend is None:
 | 
				
			||||||
			# we have to build this object from scratch
 | 
					 | 
				
			||||||
			xmpp.Node.__init__(self)
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
			if items is not None: self.items = items
 | 
								if items is not None: self.items = items
 | 
				
			||||||
		else:
 | 
							else:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue