From ddead0ed594f208ad647ff394f012cb654fd0b80 Mon Sep 17 00:00:00 2001 From: Thomas Nagy Date: Wed, 16 Mar 2016 22:59:59 +0100 Subject: [PATCH] Simplification: use dict.update() --- waflib/ConfigSet.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/waflib/ConfigSet.py b/waflib/ConfigSet.py index a11920e1..fc5c9002 100644 --- a/waflib/ConfigSet.py +++ b/waflib/ConfigSet.py @@ -312,8 +312,7 @@ class ConfigSet(object): :param d: object to use the value from :type d: dict-like object """ - for k, v in d.items(): - self[k] = v + self.table.update(d) def stash(self): """