crit: typo fix

Submitted by Andrey Vagin on June 12, 2018, 8:50 p.m.

Details

Message ID 20180612205054.14927-1-avagin@virtuozzo.com
State Accepted
Series "crit: typo fix"
Commit 9462f2aed79b4ab64b5dcbf6ee851d9c10d705b1
Headers show

Commit Message

Andrey Vagin June 12, 2018, 8:50 p.m.
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@virtuozzo.com>
---
 lib/py/images/images.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

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