mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-22 09:57:15 +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
|
:param d: object to use the value from
|
||||||
:type d: dict-like object
|
:type d: dict-like object
|
||||||
"""
|
"""
|
||||||
for k, v in d.items():
|
self.table.update(d)
|
||||||
self[k] = v
|
|
||||||
|
|
||||||
def stash(self):
|
def stash(self):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user