Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #15 from r-darwish/master

Fixed broken "which" Unix method
  • Loading branch information...
commit 979fe3cec239702a4090fd4c41953d04556aceed 2 parents 68635da + 4b3c652
@tomerfiliba authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  plumbum/local_machine.py
View
2  plumbum/local_machine.py
@@ -433,7 +433,7 @@ def _which(cls, progname):
continue
if progname in filelist:
f = filelist[progname]
- if f.stat().st_mode & stat.S_IXUSR:
+ if not f.stat().st_mode & stat.S_IXUSR:
continue
return f
return None
Please sign in to comment.
Something went wrong with that request. Please try again.