submit_feedback: remove unused domainish variable.

This commit is contained in:
Tim Abbott 2017-03-05 23:54:34 -08:00
parent 9a08ef5545
commit 1f9d93bc96
1 changed files with 0 additions and 3 deletions

View File

@ -45,9 +45,6 @@ def get_ticket_number():
@has_request_variables @has_request_variables
def submit_feedback(request, deployment, message=REQ(validator=check_dict([]))): def submit_feedback(request, deployment, message=REQ(validator=check_dict([]))):
# type: (HttpRequest, Deployment, Dict[str, Text]) -> HttpResponse # type: (HttpRequest, Deployment, Dict[str, Text]) -> HttpResponse
domainish = message["sender_domain"]
if get_realm("zulip") not in deployment.realms.all():
domainish += u" via " + deployment.name
subject = "%s" % (message["sender_email"],) subject = "%s" % (message["sender_email"],)
if len(subject) > 60: if len(subject) > 60: