Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
utils
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
f-interop-contributors
utils
Commits
0fdbe02e
Commit
0fdbe02e
authored
Jul 09, 2018
by
Federico Sismondi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed message's timestamp representation when using CLI
parent
2b2d0398
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
ioppytest_cli/ioppytest_cli.py
ioppytest_cli/ioppytest_cli.py
+3
-1
No files found.
ioppytest_cli/ioppytest_cli.py
View file @
0fdbe02e
...
...
@@ -5,6 +5,7 @@ import pika
import
errno
import
base64
import
logging
import
datetime
import
threading
import
traceback
...
...
@@ -1214,8 +1215,9 @@ def _echo_frames_as_table(frames: list):
for
frame
in
frames
:
table
=
[]
assert
type
(
frame
)
is
dict
timestamp
=
datetime
.
datetime
.
fromtimestamp
(
int
(
frame
[
'timestamp'
]))
.
strftime
(
'
%
Y-
%
m-
%
d
%
H:
%
M:
%
S'
)
table
.
append
((
'frame id'
,
frame
[
'id'
]))
table
.
append
((
'frame timestamp'
,
frame
[
'timestamp'
]
))
table
.
append
((
'frame timestamp'
,
timestamp
))
table
.
append
((
'frame error'
,
frame
[
'error'
]))
# frame header print
...
...
Write
Preview
Markdown
is supported
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