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
Alan Marchiori
labtool
Commits
d791790c
Commit
d791790c
authored
Jan 10, 2020
by
Alan Marchiori
Browse files
removed points display
parent
f5aa9def
Changes
1
Hide whitespace changes
Inline
Side-by-side
commands/check.py
View file @
d791790c
...
...
@@ -242,12 +242,10 @@ def check(lab, part):
newline
()
xlen
=
47
# length of everything without name
echo
(
"Part {:3}:
{}{}[{:3} points]
{}"
.
format
(
echo
(
"Part {:3}: {}"
.
format
(
info
[
'index'
],
info
[
'name'
][:
max
(
10
,
width
-
xlen
)].
ljust
(
width
-
xlen
),
"-"
*
10
,
info
[
'points'
],
"-"
*
10
))
info
[
'name'
][:
max
(
10
,
width
-
xlen
)].
ljust
(
width
-
xlen
)
))
echo
(
info
[
'prompt'
])
if
c
.
do_check
():
presults
+=
[
True
]
...
...
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