Skip to content
Snippets Groups Projects
Commit 71ceb5b3 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

LogParser: fixed parsing of labels attributes

parent 4a3d9c64
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,9 @@ class TableColumn:
self.rowspan = 0
self.level = level
dataSplit = data.split( ':', 1 )
# splitting with spaces around ':' is necessary, because the label can contain ':' too
# (e.g. C++ types like Matrices::CSR)
dataSplit = data.split( ' : ', 1 )
self.label = dataSplit[ 0 ].strip()
if len(dataSplit) == 2:
self.attributes = dataSplit[1]
......
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