From e2867ba5fa7cf66a7cbeb300916d1c81e70dd385 Mon Sep 17 00:00:00 2001 From: ulif <uli@gnufix.de> Date: Wed, 24 Jul 2024 23:48:42 +0200 Subject: [PATCH] Use workaround for linter complaint. Silent complaint about undefined Python2 keywords, that are only used when running in Python2 env. --- diceware/random_sources.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diceware/random_sources.py b/diceware/random_sources.py index 5d08a59..27a7183 100644 --- a/diceware/random_sources.py +++ b/diceware/random_sources.py @@ -74,7 +74,7 @@ from random import SystemRandom input_func = input if sys.version[0] < "3": - input_func = raw_input + input_func = raw_input # NOQA: F821 # defined in python 2 only. class SystemRandomSource(object): -- GitLab