mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-06-20 09:37:48 +02:00
Fix annotations for py3.8
This commit is contained in:
parent
595dae1cf7
commit
749ebbe16b
@ -565,7 +565,7 @@ def get_and_set_ticket_status(
|
|||||||
new_status: str,
|
new_status: str,
|
||||||
ticket: Ticket,
|
ticket: Ticket,
|
||||||
follow_up: FollowUp
|
follow_up: FollowUp
|
||||||
) -> tuple[str, str]:
|
) -> typing.Tuple[str, str]:
|
||||||
"""Performs comparision on previous status to new status,
|
"""Performs comparision on previous status to new status,
|
||||||
updating the title as required.
|
updating the title as required.
|
||||||
|
|
||||||
@ -659,7 +659,7 @@ def add_staff_subscription(
|
|||||||
|
|
||||||
def get_template_staff_and_template_cc(
|
def get_template_staff_and_template_cc(
|
||||||
reassigned, follow_up: FollowUp
|
reassigned, follow_up: FollowUp
|
||||||
) -> tuple[str, str]:
|
) -> typing.Tuple[str, str]:
|
||||||
if reassigned:
|
if reassigned:
|
||||||
template_staff = 'assigned_owner'
|
template_staff = 'assigned_owner'
|
||||||
elif follow_up.new_status == Ticket.RESOLVED_STATUS:
|
elif follow_up.new_status == Ticket.RESOLVED_STATUS:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user