Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
vmspython
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
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenVMS
Python
Modules
vmspython
Commits
3473117cce12
Commit
3473117cce12
authored
4 months ago
by
jfp
Browse files
Options
Downloads
Patches
Plain Diff
Update ovms.ptd.run
parent
4a21e2cca2bf
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
python/local/ovms_module/ovms/ptd/run.py
+3
-3
3 additions, 3 deletions
python/local/ovms_module/ovms/ptd/run.py
with
3 additions
and
3 deletions
python/local/ovms_module/ovms/ptd/run.py
+
3
−
3
View file @
3473117c
...
...
@@ -21,7 +21,9 @@
# get a logger specific for this module
logger
=
logging
.
getLogger
(
__name__
)
print_if_verbose
:
Callable
def
print_if_verbose
(
*
args
,
**
kwargs
):
return
None
def
get_page_size
()
->
int
:
...
...
@@ -42,7 +44,6 @@
exit_reader
:
threading
.
Event
,
exit_reader_done
:
threading
.
Event
,
):
global
print_if_verbose
exit_reader_done
.
clear
()
r
:
str
|
None
=
None
while
True
:
...
...
@@ -115,7 +116,6 @@
wait_for_value
(
qread
,
ptd
.
prompt
)
# wait for prompt
return
f
"
{
cmd
}
executed
"
global
print_if_verbose
args
:
argparse
.
Namespace
logging_format
=
"
%(asctime)s - %(name)s - %(levelname)s - %(message)s
"
logging
.
basicConfig
(
filename
=
"
/dev/null
"
,
level
=
logging
.
INFO
,
format
=
logging_format
)
...
...
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