Skip to content
Myr

fix readable path check error message

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Alexander Shadchin · committed by David Lord · parent 456fbb6 · Browse files · 2 files+4 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+4 added−1 removed

  • other:+4 added−1 removed

2 files+4 added−1 removed

modified:src/click/types.py+1 added-1 removed
882 unmodified lines
883 )884885 if self.readable and not os.access(rv, os.R_OK):886 self.fail(887 _("{name} {filename!r} is not executable.").format(887 _("{name} {filename!r} is not readable.").format(888 name=self.name.title(), filename=os.fsdecode(value)889 ),890 param,891 ctx,
182 unmodified lines
modified:CHANGES.rst+3 added
3 unmodified lines
4-------------56Unreleased78- Fix error message for readable path check that was mixed up with the9 executable check. :pr:`2236`101112Version 8.1.113-------------1415Released 2022-03-30
1014 unmodified lines