Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pyromaths
pyromaths
Commits
76b3f090
Commit
76b3f090
authored
Oct 06, 2016
by
Louis
Browse files
Fix error message
parent
8915224e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/testexo.py
View file @
76b3f090
...
...
@@ -76,9 +76,9 @@ def exercise_argument(string=""):
try
:
seeds
=
[
int
(
seed
)
for
seed
in
seeds
.
split
(
","
)]
except
ValueError
:
raise
argparse
.
ArgumentTypeError
(
"
TODO
"
)
raise
argparse
.
ArgumentTypeError
(
"
Seeds must be a comma separated list of integers.
"
)
else
:
raise
argparse
.
ArgumentTypeError
(
"
TODO
"
)
raise
argparse
.
ArgumentTypeError
(
"
Seeds must be a comma separated list of integers.
"
)
return
(
name
,
seeds
)
...
...
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