Skip to content

Commit

Permalink
Rename variable to be more explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
mpenning committed Oct 11, 2023
1 parent 2cf2927 commit 82bc945
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/lazy_ios_audit.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
# This is called a lazy audit, because this example skips things that are
# local to your environment (i.e. SNMP ACLs, SNMP Community, etc...)
#
# Also note that the RECOMMENDED config lines below are exact matches (no regex)
RECOMMENDED = """!
# Also note that the RECOMMENDED_IOS_CONFIG config lines below are exact matches (no regex)
RECOMMENDED_IOS_CONFIG = """!
no service pad
service tcp-keepalives-in
service tcp-keepalives-out
Expand Down Expand Up @@ -73,7 +73,7 @@
parse = CiscoConfParse(filename)

# Print out simple diff conditions - i.e. no regexp matching...
print(os.linesep.join(parse.sync_diff(RECOMMENDED, '', remove_lines=False)))
print(os.linesep.join(parse.sync_diff(RECOMMENDED_IOS_CONFIG, '', remove_lines=False)))

# Default enable secret config...
default_enab_sec = f'enable secret {secret}'
Expand Down

0 comments on commit 82bc945

Please sign in to comment.