Skip to content
Snippets Groups Projects
Commit 272774f0 authored by Tomasz Grabiec's avatar Tomasz Grabiec Committed by Pekka Enberg
Browse files

trace: fix string conversion error on python 2.7.5


On python 2.7.5 python complains about struct() not accepting unicode
argument. Fix by adding explicit conversion.

Signed-off-by: default avatarTomasz Grabiec <tgrabiec@cloudius-systems.com>
Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
parent f4ec9949
No related branches found
No related tags found
No related merge requests found
......@@ -162,7 +162,7 @@ def split_format(format_str):
fmt = str(c)
while c.isdigit():
c = next(chars)
fmt += c
fmt += str(c)
yield fmt
formatters = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment