X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2Fnepi%2Fexecution%2Fattribute.py;h=19fbfc2c065850a25ef281677b14a7ca1261c72e;hb=561719f7cb8a42f139905c33e75ec5071c321170;hp=fa2b10431a12ef78eb92af262b39c3f4eff889cf;hpb=55ae6a7a02598cb490163bfc57a79f37f24d8974;p=nepi.git diff --git a/src/nepi/execution/attribute.py b/src/nepi/execution/attribute.py index fa2b1043..19fbfc2c 100644 --- a/src/nepi/execution/attribute.py +++ b/src/nepi/execution/attribute.py @@ -190,6 +190,7 @@ class Attribute(object): adequate validation""" return True + @property def has_changed(self): """ Returns true if the value has changed from the default """ return self.value != self.default