mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-22 18:07:12 +01:00
Issue 1218
This commit is contained in:
parent
689fe3c0b9
commit
27aeab577c
@ -327,7 +327,9 @@ class ConfigSet(object):
|
||||
The history is kept in a stack, and is lost during the serialization by :py:meth:`ConfigSet.store`
|
||||
"""
|
||||
self.undo_stack = self.undo_stack + [self.table]
|
||||
self.table = self.table.copy()
|
||||
tbl = self.table = self.table.copy()
|
||||
for x in tbl.keys():
|
||||
tbl[x] = copy.deepcopy(tbl[x])
|
||||
|
||||
def revert(self):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user