mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 14:40:19 -07:00
Fix undefined variables, basestring usage, and some associated python3 issues
This commit is contained in:
parent
9f7b0dfc30
commit
225fa5d092
84 changed files with 652 additions and 963 deletions
|
@ -207,9 +207,9 @@ def main():
|
|||
except IndexError:
|
||||
additions.append(rule)
|
||||
|
||||
eol = len(current_rules) > len(desired_rules)
|
||||
eol = len(current_rules) - len(desired_rules)
|
||||
if eol > 0:
|
||||
for rule in current_rules[eos:]:
|
||||
for rule in current_rules[eol:]:
|
||||
deletions.append(rule)
|
||||
|
||||
for rule in additions:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue