Skip to content
Myr

Fix path type (#695)

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

authored by Sergey Kozlov · committed by Adrian · parent 67f39e4 · Browse files · 1 file+1 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

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:click/types.py+1 added-1 removed
423 unmodified lines
424425 if self.file_okay and not self.dir_okay:426 self.name = 'file'427 self.path_type = 'File'428 if self.dir_okay and not self.file_okay:428 elif self.dir_okay and not self.file_okay:429 self.name = 'directory'430 self.path_type = 'Directory'431 else:432 self.name = 'path'
159 unmodified lines