Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dinfk-lecturers
mossutils
Commits
a0885d1f
Commit
a0885d1f
authored
May 05, 2020
by
scmalte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moss.py: removed accidentally committed exit-statement and improved --help
parent
efad50e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
mossutils/moss.py
mossutils/moss.py
+1
-3
No files found.
mossutils/moss.py
View file @
a0885d1f
...
@@ -62,8 +62,6 @@ def run_moss(
...
@@ -62,8 +62,6 @@ def run_moss(
moss
.
addFilesByWildcard
(
file_pattern
)
moss
.
addFilesByWildcard
(
file_pattern
)
exit
(
0
)
logging
.
info
(
"Sending files to Moss"
)
logging
.
info
(
"Sending files to Moss"
)
url
=
moss
.
send
()
# Submission Report URL
url
=
moss
.
send
()
# Submission Report URL
...
@@ -128,7 +126,7 @@ def configure_cli_parser(parser):
...
@@ -128,7 +126,7 @@ def configure_cli_parser(parser):
"pattern"
,
"pattern"
,
type
=
str
,
type
=
str
,
default
=
DEFAULT_FILE_PATTERN
,
default
=
DEFAULT_FILE_PATTERN
,
help
=
"Pattern for files to send to Moss (e.g.: {}
)
"
.
format
(
DEFAULT_FILE_PATTERN
))
help
=
"Pattern for files to send to Moss (e.g.:
'
{}
'). Must be in quotes!
"
.
format
(
DEFAULT_FILE_PATTERN
))
def
main
():
def
main
():
parser
=
argparse
.
ArgumentParser
()
parser
=
argparse
.
ArgumentParser
()
...
...
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