From 749ebbe16be87a128069f673a9cbf62a961d5d3b Mon Sep 17 00:00:00 2001 From: Martin Whitehouse Date: Mon, 25 Jul 2022 03:42:16 +0200 Subject: [PATCH] Fix annotations for py3.8 --- helpdesk/views/staff.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helpdesk/views/staff.py b/helpdesk/views/staff.py index 074141c9..981091bb 100644 --- a/helpdesk/views/staff.py +++ b/helpdesk/views/staff.py @@ -565,7 +565,7 @@ def get_and_set_ticket_status( new_status: str, ticket: Ticket, follow_up: FollowUp -) -> tuple[str, str]: +) -> typing.Tuple[str, str]: """Performs comparision on previous status to new status, updating the title as required. @@ -659,7 +659,7 @@ def add_staff_subscription( def get_template_staff_and_template_cc( reassigned, follow_up: FollowUp -) -> tuple[str, str]: +) -> typing.Tuple[str, str]: if reassigned: template_staff = 'assigned_owner' elif follow_up.new_status == Ticket.RESOLVED_STATUS: