Skip to content

Commit

Permalink
Use workaround for linter complaint.
Browse files Browse the repository at this point in the history
Silent complaint about undefined Python2 keywords, that are only used
when running in Python2 env.
ulif committed Jul 24, 2024
1 parent 1a2431d commit e2867ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion diceware/random_sources.py
Original file line number Diff line number Diff line change
@@ -74,7 +74,7 @@

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):

0 comments on commit e2867ba

Please sign in to comment.