From 7344ab6359bf7b00c272cc4e558ab8afdf50000d Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Sat, 8 Aug 2009 23:03:16 +0100 Subject: [PATCH] add __setitem__ Signed-off-by: Mark Hymers --- daklib/config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/daklib/config.py b/daklib/config.py index 290a837a..09df17bb 100755 --- a/daklib/config.py +++ b/daklib/config.py @@ -83,3 +83,5 @@ class Config(Singleton): def __getitem__(self, name): return self.Cnf[name] + def __setitem__(self, name, value): + self.Cnf[name] = value -- 2.39.5