Dan Kenigsberg has uploaded a new change for review.
Change subject: BZ#567077 task.py: avoid overtly silly casting to str() ......................................................................
BZ#567077 task.py: avoid overtly silly casting to str()
For a reason unknown (to me), task.py does not use pickle to persist its data to file. We cannot fix that without breaking backward-compatibility. However, we can avoid pointless casts to str, and can encode data to utf8 before storing to disk.
Change-Id: I97db724db436e99b95c3524e70fab540f7191334 --- M vdsm/storage/task.py 1 file changed, 48 insertions(+), 50 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/22/1622/1 -- To view, visit http://gerrit.ovirt.org/1622 To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange Gerrit-Change-Id: I97db724db436e99b95c3524e70fab540f7191334 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Dan Kenigsberg danken@redhat.com