# HG changeset patch # User Peter Sanchez # Date 1635295816 25200 # Tue Oct 26 17:50:16 2021 -0700 # Branch redmine # Node ID 408c472863566b0ad1770469430ba08d76f6548d # Parent 00e23ef5166bed1fb0515c143a158469f8327ce8 Removing debug print statements. diff --git a/trello_broker/utils.py b/trello_broker/utils.py --- a/trello_broker/utils.py +++ b/trello_broker/utils.py @@ -41,7 +41,6 @@ base_commit_url = urljoin(base_repo_url, "commits/") for commit in json_data["commits"]: - print("in commit") proc_cards = [] msg = commit["message"] context = { @@ -56,7 +55,6 @@ } for action, card_id in re_pattern.findall(msg): - print(f"in {action} -> {card_id}") if card_id in proc_cards: # Referenced more than once in the commit msg continue @@ -72,9 +70,7 @@ if action.lower() == "close": # FYI, this is hard coded for our own use case. # DO NOT USE! - print("updating status") update["issue"]["status_id"] = 15 - print(f"Final result: {update}") result = requests.put( f"{settings.REDMINE_ROOT_URL}/issues/{card_id}.json",