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

Issue 1218

This commit is contained in:
Thomas Nagy 2012-10-25 21:36:41 +02:00
parent 689fe3c0b9
commit 27aeab577c

View File

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