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 eae96d93 authored by scmalte's avatar scmalte
Browse files

moss.py: renamed variable

parent 4de5bf97
...@@ -10,7 +10,7 @@ DEFAULT_NUMBER_OF_MATCHING_FILES=1000 # -n in Moss ...@@ -10,7 +10,7 @@ DEFAULT_NUMBER_OF_MATCHING_FILES=1000 # -n in Moss
DEFAULT_TEMPLATE=None DEFAULT_TEMPLATE=None
DEFAULT_FILE_PATTERN="./*/main.cpp" DEFAULT_FILE_PATTERN="./*/main.cpp"
DEFAULT_REPORT_FILE="moss-report.html" DEFAULT_REPORT_FILE="moss-report.html"
DEFAULT_REPORT_SUBDIR="_moss-report" DEFAULT_REPORT_DIR="_moss-report"
DEFAULT_CONNECTIONS=8 DEFAULT_CONNECTIONS=8
def run_moss( def run_moss(
...@@ -21,7 +21,7 @@ def run_moss( ...@@ -21,7 +21,7 @@ def run_moss(
template=DEFAULT_TEMPLATE, template=DEFAULT_TEMPLATE,
file_pattern=DEFAULT_FILE_PATTERN, file_pattern=DEFAULT_FILE_PATTERN,
report_file=DEFAULT_REPORT_FILE, report_file=DEFAULT_REPORT_FILE,
report_subdir=DEFAULT_REPORT_SUBDIR, report_subdir=DEFAULT_REPORT_DIR,
connections=DEFAULT_CONNECTIONS): connections=DEFAULT_CONNECTIONS):
# Assemble Moss comment string, starting with functions (local) arguments # Assemble Moss comment string, starting with functions (local) arguments
...@@ -117,8 +117,8 @@ def configure_cli_parser(parser): ...@@ -117,8 +117,8 @@ def configure_cli_parser(parser):
parser.add_argument( parser.add_argument(
"-rd", "--report-dir", "-rd", "--report-dir",
type=str, type=str,
default=DEFAULT_REPORT_SUBDIR, default=DEFAULT_REPORT_DIR,
help="Directory for individual report files (default: {})".format(DEFAULT_REPORT_SUBDIR)) help="Directory for individual report files (default: {})".format(DEFAULT_REPORT_DIR))
logutils.add_loglevel_argument(parser) logutils.add_loglevel_argument(parser)
......
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