2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-22 01:46:15 +01:00

Simplification: use dict.update()

This commit is contained in:
Thomas Nagy 2016-03-16 22:59:59 +01:00
parent b63ae9b2ef
commit ddead0ed59
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64

View File

@ -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):
"""