From 0dbf1b0186fb89ff641752a65d9309751c2d18f6 Mon Sep 17 00:00:00 2001 From: Taka Date: Tue, 8 Dec 2020 19:00:59 +1100 Subject: [PATCH] Disabled an intermittent pylint warning. --- vasl_templates/webapp/vo_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vasl_templates/webapp/vo_utils.py b/vasl_templates/webapp/vo_utils.py index 2740950..aaf63fb 100644 --- a/vasl_templates/webapp/vo_utils.py +++ b/vasl_templates/webapp/vo_utils.py @@ -307,7 +307,7 @@ def _make_comments( vo_entry, nat, vo_type, disabled_note_ids ): #pylint: disabl force_auto_comment = False nat2 = nat if globvars.template_pack: - nat_type = globvars.template_pack[ "nationalities" ].get( nat, {} ).get( "type" ) + nat_type = globvars.template_pack[ "nationalities" ].get( nat, {} ).get( "type" ) #pylint: disable=unsubscriptable-object else: nat_type = None if nat in ( "kfw-uro", "kfw-bcfk", "kfw-un-common" ):