Skip to content
Permalink
Browse files

[processing] return copy of object dictionary in parameter todict method

  • Loading branch information
volaya committed Oct 5, 2016
1 parent d07aef9 commit 53d0372cad9c2782989f4d00daf272694dd6cc90
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/core/parameters.py
@@ -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

0 comments on commit 53d0372

Please sign in to comment.
You can’t perform that action at this time.