Parameter name error in dataforms.py
Bug description
The parameter name is wrong. It is 'value' and should be 'values'
Steps to reproduce
Code review of src/common/dataforms.py
Software versions
OS version: Windows 7
GTK version: 2.24.10
PyGTK version: 2.24.0
Gajim version: 0.16.5
Patch
File: src/common/dataforms.py
Line: 303 and following
old Code
def fset(self, value):
fdel(self)
for uri in values:
self.addChild(node=uri)
new Code
def fset(self, values):
fdel(self)
for uri in values:
self.addChild(node=uri)