Support item assignment in fake facts.
@@ -83,6 +83,9 @@ class FakeFact(object):
def __getitem__(self, key):
return self.data[key]
+ def __setitem__(self, key, value):
+ self.data[key] = value
+
def __contains__(self, key):
return key in self.data
