Commits

funkybob  committed f03fd69

Allow setting of buffered properties

  • Participants
  • Parent commits feb4dde

Comments (0)

Files changed (1)

File gnocchi/tools/cache.py

             setattr(instance, self.propname, self.getter(instance))
         return getattr(instance, self.propname)
 
+    def __set__(self, instance, value):
+        setattr(instance, self.propname, value)
+
     def __delete__(self, instance):
         delattr(instance, self.propname)