Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sebastian Steinlechner
pykat
Commits
0ff5d3cb
Commit
0ff5d3cb
authored
Sep 11, 2015
by
Daniel Toyra
Browse files
Fixed so trace commands can be parsed and output in Python 3
parent
a7ebee6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
pykat/finesse.py
View file @
0ff5d3cb
...
...
@@ -1401,8 +1401,12 @@ class kat(object):
#if search > -1:
#print ("Trace 1: {0}".format(out[search:]))
# for now, just try to print the trace block in full
print
(
out
[
out
.
find
(
' ---'
)
:])
# For now, just try to print the trace block in full.
# Converting to unicode so it works in python 3.
tmpOut
=
out
.
decode
(
'unicode_escape'
)
print
(
tmpOut
[
tmpOut
.
find
(
' ---'
)
:])
# print (out[out.find(' ---') :])
katfile
.
close
()
perfData
=
[]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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