delete dangling fixed attribute in constraints

This commit is contained in:
Max Zwiessele 2014-03-31 13:31:50 +01:00
parent 46ee737492
commit 161f352838

View file

@ -95,6 +95,9 @@ class ParameterIndexOperations(object):
def __getitem__(self, prop): def __getitem__(self, prop):
return self._properties[prop] return self._properties[prop]
def __delitem__(self, prop):
del self._properties[prop]
def __str__(self, *args, **kwargs): def __str__(self, *args, **kwargs):
import pprint import pprint
return pprint.pformat(dict(self._properties)) return pprint.pformat(dict(self._properties))