mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-08-12 07:50:48 +01:00
capitalize T
This commit is contained in:
@@ -483,9 +483,9 @@ def main():
|
||||
# prompt for name of benchmark to be used for filename
|
||||
tailored_filename = sanitised_input(f'Enter a name for your tailored benchmark or press Enter for the default value ({args.keyword}): ', str, default_=args.keyword)
|
||||
if tailored_filename == args.keyword:
|
||||
_kw = f"{args.keyword.upper()} (tailored)"
|
||||
_kw = f"{args.keyword.upper()} (Tailored)"
|
||||
else:
|
||||
_kw = f"{tailored_filename.upper()} (tailored from {args.keyword.upper()})"
|
||||
_kw = f"{tailored_filename.upper()} (Tailored from {args.keyword.upper()})"
|
||||
# prompt for inclusion, add ODV
|
||||
odv_baseline_rules = odv_query(found_rules, benchmark)
|
||||
baseline_output_file = open(f"{build_path}/{tailored_filename}.yaml", 'w')
|
||||
|
||||
@@ -1646,7 +1646,7 @@ def main():
|
||||
else:
|
||||
adoc_tag_show=":show_tags!:"
|
||||
|
||||
if "tailored from" in baseline_yaml['title']:
|
||||
if "Tailored from" in baseline_yaml['title']:
|
||||
s=baseline_yaml['title'].split(':')[1]
|
||||
adoc_html_subtitle = s.split('(')[0]
|
||||
adoc_html_subtitle2 = s[s.find('(')+1:s.find(')')]
|
||||
|
||||
Reference in New Issue
Block a user