Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove metadata from parameter.todict (do not save in model)
  • Loading branch information
arnaud-morvan authored and volaya committed Oct 5, 2016
1 parent 2ad27b1 commit ecb7b3a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/plugins/processing/core/parameters.py
Expand Up @@ -120,7 +120,9 @@ def typeName(self):
return self.__class__.__name__.replace('Parameter', '').lower()

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

def tr(self, string, context=''):
if context == '':
Expand Down

0 comments on commit ecb7b3a

Please sign in to comment.