To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit a0885d1f authored by scmalte's avatar scmalte
Browse files

moss.py: removed accidentally committed exit-statement and improved --help

parent efad50e1
...@@ -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()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment