Skip to content
Myr

Merge pull request #2236 from shadchin/patch-1

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

Fix incorrect error message for readable path check

authored by David Lord · committed by GitHub · parents 456fbb6, 92cebe9 · 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