mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-25 11:19:52 +01:00
Simplification: use dict.update()
This commit is contained in:
parent
b63ae9b2ef
commit
ddead0ed59
@ -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):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user