Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
ipaaca
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ramin Yaghoubzadeh Torky
ipaaca
Commits
83dd658f
Commit
83dd658f
authored
7 years ago
by
Ramin Yaghoubzadeh Torky
Browse files
Options
Downloads
Patches
Plain Diff
session record/replay: mini bugfix
Docs addendum: you can specify - as out/input file to use stdout/stdin
parent
5fda1ed3
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ipaacatools/scripts/ipaaca-session-record
+2
-2
2 additions, 2 deletions
ipaacatools/scripts/ipaaca-session-record
with
2 additions
and
2 deletions
ipaacatools/scripts/ipaaca-session-record
+
2
−
2
View file @
83dd658f
...
@@ -124,7 +124,7 @@ parser = ipaaca.IpaacaArgumentParser(description='Ipaaca IU Session Recorder --
...
@@ -124,7 +124,7 @@ parser = ipaaca.IpaacaArgumentParser(description='Ipaaca IU Session Recorder --
parser
.
add_argument
(
parser
.
add_argument
(
'
-o
'
,
'
--output-file
'
,
'
-o
'
,
'
--output-file
'
,
dest
=
'
output_file
'
,
dest
=
'
output_file
'
,
default
=
'
default.ipaacasession
'
,
default
=
[
'
default.ipaacasession
'
]
,
metavar
=
'
OUTPUT-FILE
'
,
metavar
=
'
OUTPUT-FILE
'
,
nargs
=
1
,
nargs
=
1
,
help
=
"
set the channels to listen on (otherwise
'
default
'
)
"
)
help
=
"
set the channels to listen on (otherwise
'
default
'
)
"
)
...
@@ -172,7 +172,7 @@ if __name__ == '__main__':
...
@@ -172,7 +172,7 @@ if __name__ == '__main__':
arguments
=
parser
.
parse_args
()
arguments
=
parser
.
parse_args
()
buffers
=
{}
buffers
=
{}
log_file
=
None
if
(
arguments
.
output_file
[
0
]
==
'
-
'
)
else
open
(
arguments
.
output_file
,
'
w
'
)
log_file
=
None
if
(
arguments
.
output_file
[
0
]
==
'
-
'
)
else
open
(
arguments
.
output_file
[
0
]
,
'
w
'
)
# Create one input buffer for each channel we are listening on
# Create one input buffer for each channel we are listening on
for
channel
in
arguments
.
channels
:
for
channel
in
arguments
.
channels
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment