Skip to content
Permalink
Browse files

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 ecb7b3a096f58ad60e212f901845ad1c435d29e8
Showing with 3 additions and 1 deletion.
  1. +3 −1 python/plugins/processing/core/parameters.py
@@ -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 == '':

0 comments on commit ecb7b3a

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