mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 03:33:11 +01:00
Line shortened.
This commit is contained in:
parent
866916f8c0
commit
3e58971fe6
@ -250,7 +250,7 @@ def perlReToReplacer(s):
|
||||
return lambda s: r.sub(replace, s, 1)
|
||||
|
||||
def findBinaryInPath(s):
|
||||
"""Returns full path of a binary if it's in PATH, otherwise returns None."""
|
||||
"""Return full path of a binary if it's in PATH, otherwise return None."""
|
||||
cmdLine = None
|
||||
for dir in os.getenv('PATH').split(':'):
|
||||
filename = os.path.join(dir, s)
|
||||
|
Loading…
Reference in New Issue
Block a user