Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
7ff701de
Commit
7ff701de
authored
Jun 07, 2018
by
Ryan Herbert
Committed by
Mikaël Salson
Jul 18, 2018
Browse files
vidjilparser.py fix 'previous' variable name reference
parent
433e0fcf
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/vidjilparser.py
View file @
7ff701de
...
...
@@ -49,7 +49,7 @@ class VidjilWriter(object):
value
=
str
(
value
).
lower
()
mstr
=
'{}'
padding
=
''
if
self
.
pretty
and
previous
_event
!=
'map_key'
:
if
self
.
pretty
and
previous
!=
'map_key'
:
if
len
(
prefix
)
>
0
:
padding
=
''
.
join
([
'
\t
'
for
i
in
range
(
len
(
prefix
.
split
(
'.'
)))])
mstr
=
'{}'
+
mstr
+
end
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment