Skip to content

Commit

Permalink
Run psf/black
Browse files Browse the repository at this point in the history
  • Loading branch information
mamercad committed Jul 10, 2022
1 parent 4fd2482 commit 8fef6dd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions plugins/modules/digital_ocean_vpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,9 @@ def delete(self):

vpc = self.get_by_name()
if vpc is None:
self.module.fail_json(msg="Unable to find VPC {0} in {1}".format(self.name, self.region))
self.module.fail_json(
msg="Unable to find VPC {0} in {1}".format(self.name, self.region)
)
else:
vpc_id = vpc.get("id", None)
if vpc_id is not None:
Expand All @@ -233,7 +235,9 @@ def delete(self):
if status == 204:
self.module.exit_json(
changed=True,
msg="Deleted VPC {0} in {1} ({2})".format(self.name, self.region, vpc_id),
msg="Deleted VPC {0} in {1} ({2})".format(
self.name, self.region, vpc_id
),
)
else:
json = response.json
Expand Down

0 comments on commit 8fef6dd

Please sign in to comment.