Skip to content

Commit

Permalink
[processing] return copy of object dictionary in parameter todict method
Browse files Browse the repository at this point in the history
  • Loading branch information
volaya committed Oct 5, 2016
1 parent d07aef9 commit 53d0372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/core/parameters.py
Expand Up @@ -182,7 +182,7 @@ def typeName(self):
return self.__class__.__name__.replace('Parameter', '').lower()

def todict(self):
o = self.__dict__
o = deepcopy(self.__dict__)
del o['metadata']
return o

Expand Down

0 comments on commit 53d0372

Please sign in to comment.