]> git.decadent.org.uk Git - dak.git/commitdiff
add __setitem__
authorMark Hymers <mhy@debian.org>
Sat, 8 Aug 2009 22:03:16 +0000 (23:03 +0100)
committerMark Hymers <mhy@debian.org>
Sun, 9 Aug 2009 15:49:31 +0000 (16:49 +0100)
Signed-off-by: Mark Hymers <mhy@debian.org>
daklib/config.py

index 290a837a5e10d7f03d91eeb8f0623048296c97cf..09df17bb06be100a2a753793c5416f3750cf3e30 100755 (executable)
@@ -83,3 +83,5 @@ class Config(Singleton):
     def __getitem__(self, name):
         return self.Cnf[name]
 
+    def __setitem__(self, name, value):
+        self.Cnf[name] = value