Skip to content

Commit 65e5245

Browse files
committed
Fix mypy warning when overriding DEV_TEMPLATE_CONTEXT_PROCESSORS by
turning it into a list (can't override a tuple without the type changing) - Legacy-Id: 17886
1 parent 27ebc63 commit 65e5245

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ietf/settings.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -926,11 +926,11 @@ def skip_unreadable_post(record):
926926
# page loading. If you wish to use the sql_queries debug listing, put this in
927927
# your settings_local and make sure your client IP address is in INTERNAL_IPS:
928928
#
929-
# DEV_TEMPLATE_CONTEXT_PROCESSORS = (
929+
# DEV_TEMPLATE_CONTEXT_PROCESSORS = [
930930
# 'ietf.context_processors.sql_debug',
931-
# )
931+
# ]
932932
#
933-
DEV_TEMPLATE_CONTEXT_PROCESSORS = ()
933+
DEV_TEMPLATE_CONTEXT_PROCESSORS = [] # type: List[str]
934934

935935
# Domain which hosts draft and wg alias lists
936936
DRAFT_ALIAS_DOMAIN = IETF_DOMAIN

0 commit comments

Comments
 (0)