Skip to content

Commit 529011c

Browse files
committed
Clean up unneeded python var
1 parent 558998b commit 529011c

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

pre_commit_hooks/munki_makecatalogs.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,16 @@ def build_argument_parser():
1414
parser = argparse.ArgumentParser(
1515
description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter
1616
)
17-
parser.add_argument("--munki_repo", default='.',
18-
help="path to local munki repo defaults to '.'")
17+
parser.add_argument(
18+
"--munki_repo", default=".", help="Path to local Munki repo. (Defaults to '.')"
19+
)
1920
# TODO: Support makecatalogs options, ideally with kwargs for flexibility.
2021
return parser
2122

2223

2324
def main(argv=None):
2425
"""Main process."""
2526

26-
# Path to munki's python.
27-
python = "/usr/local/munki/munki-python"
28-
2927
# Path to makecatalogs.
3028
makecatalogs = "/usr/local/munki/makecatalogs"
3129

0 commit comments

Comments
 (0)