Skip to content

Commit

Permalink
[ignore] black changes
Browse files Browse the repository at this point in the history
  • Loading branch information
wiebecoding committed Aug 19, 2024
1 parent 949b74c commit 8fdc184
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions plugins/modules/aci_system_banner.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,12 +271,12 @@ def main():

if gui_banner is not None:
if re.fullmatch(regex_url, gui_banner):
is_gui_message_text = "no"
is_gui_message_text = "no"
else:
is_gui_message_text = "yes"
is_gui_message_text = "yes"
else:
is_gui_message_text = "yes"

aci.payload(
aci_class="aaaPreLoginBanner",
class_config=dict(
Expand Down
8 changes: 4 additions & 4 deletions plugins/modules/aci_vlan_pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ def main():
argument_spec=argument_spec,
supports_check_mode=True,
required_if=[
["state", "absent", ["pool","pool_allocation_mode"]],
["state", "present", ["pool","pool_allocation_mode"]],
["state", "absent", ["pool", "pool_allocation_mode"]],
["state", "present", ["pool", "pool_allocation_mode"]],
],
)

Expand All @@ -241,9 +241,9 @@ def main():
name_alias = module.params.get("name_alias")

if pool is not None and pool_allocation_mode is not None:
pool_name = "[{0}]-{1}".format(pool, pool_allocation_mode)
pool_name = "[{0}]-{1}".format(pool, pool_allocation_mode)
else:
pool_name = pool
pool_name = pool

aci = ACIModule(module)
aci.construct_url(
Expand Down

0 comments on commit 8fdc184

Please sign in to comment.