Issue 1218

This commit is contained in:
Thomas Nagy 2012-10-25 21:36:41 +02:00
parent 689fe3c0b9
commit 27aeab577c
1 changed files with 3 additions and 1 deletions

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