[CRIU] [PATCH] crit: typo fix
Andrei Vagin
avagin at virtuozzo.com
Tue Jun 12 23:50:54 MSK 2018
test/dump/zdtm/static/msgque/43/1/ipcns-msg-12.img decode fails: object of type 'NoneType' has no len()
Signed-off-by: Andrei Vagin <avagin at virtuozzo.com>
---
lib/py/images/images.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/py/images/images.py b/lib/py/images/images.py
index d70ee1a42..d8f1c81d1 100644
--- a/lib/py/images/images.py
+++ b/lib/py/images/images.py
@@ -393,7 +393,7 @@ class ipc_msg_queue_handler:
data = f.read(msg.msize)
f.seek(rounded - msg.msize, 1)
messages.append(pb2dict.pb2dict(msg))
- base64.encodebytes(messages.append(data))
+ messages.append(base64.encodebytes(data))
return messages
def dump(self, extra, f, pb):
--
2.14.3
More information about the CRIU
mailing list