From: Mark Hymers Date: Sat, 8 Aug 2009 22:03:16 +0000 (+0100) Subject: add __setitem__ X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=7344ab6359bf7b00c272cc4e558ab8afdf50000d;p=dak.git add __setitem__ Signed-off-by: Mark Hymers --- 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