mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
just return the first result normally
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
+1
-1
@@ -1194,7 +1194,7 @@ def system_which(command, mult=False):
|
||||
if mult:
|
||||
return result.split('\n')
|
||||
else:
|
||||
result
|
||||
result.split('\n')[0]
|
||||
|
||||
def format_help(help):
|
||||
"""Formats the help string."""
|
||||
|
||||
Reference in New Issue
Block a user