Skip to content

Commit

Permalink
testing again
Browse files Browse the repository at this point in the history
  • Loading branch information
Brad Reno committed Feb 17, 2023
1 parent a172765 commit 1f95b09
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions autopkg_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,9 +434,7 @@ def teams_alert(recipe, opts):
label=package_name, url=package_url)
print("3...")
policy_name = recipe.results["imported"][0]["Policy"]
policy_api_search = "policies/name/{name}".format(
name=policy_name
)
policy_api_search = f"policies/name/{policy_name}"
policy = api.get(policy_api_search)
policy_id = policy["policy"]["general"]["id"]
policy_url = "{base}/policies.html?id={id}".format(
Expand Down

0 comments on commit 1f95b09

Please sign in to comment.