Fix comparing dictionaries for changes detection

Non-unicode and unicode dicts cannot be compared.
That makes paunch failing to detect config changes and
rebuilding containers w/o a need.

Change-Id: Ie2db16b982bf1851ab37c3514c1bc82cfc64d0b3
Closes-Bug: #1810690
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
This commit is contained in:
Bogdan Dobrelya 2019-01-08 17:44:10 +02:00
parent 4e55596f71
commit 5b925ef7bb
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ class BaseBuilder(object):
continue
try:
ex_data = json.loads(ex_data_str)
ex_data = json.loads(str(ex_data_str))
except Exception:
ex_data = None