mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-02-23 19:31:55 +00:00
autopkgtest: fix copy() in save_state
This commit is contained in:
parent
c6c5c45287
commit
075d4d823b
@ -17,6 +17,7 @@
|
||||
# GNU General Public License for more details.
|
||||
|
||||
import collections
|
||||
from copy import deepcopy
|
||||
from enum import Enum
|
||||
import os
|
||||
import json
|
||||
@ -222,7 +223,7 @@ class AutopkgtestPolicy(BasePolicy):
|
||||
# update the results on-disk cache, unless we are using a r/o shared one
|
||||
if not self.options.adt_shared_results_cache:
|
||||
self.logger.info('Updating results cache')
|
||||
results = self.test_results.copy()
|
||||
results = deepcopy(self.test_results)
|
||||
for trigger in results.values():
|
||||
for arch in trigger.values():
|
||||
for result in arch.values():
|
||||
|
Loading…
x
Reference in New Issue
Block a user