mirror of
https://github.com/nvbn/thefuck.git
synced 2025-02-22 04:48:57 +00:00
Merge branch 'awonnacott-master'
This commit is contained in:
commit
8c783b7405
@ -24,8 +24,11 @@ def get_pkgfile(command):
|
||||
).splitlines()
|
||||
|
||||
return [package.split()[0] for package in packages]
|
||||
except subprocess.CalledProcessError:
|
||||
return None
|
||||
except subprocess.CalledProcessError as err:
|
||||
if err.returncode == 1 and err.output == "":
|
||||
return []
|
||||
else:
|
||||
raise err
|
||||
|
||||
|
||||
def archlinux_env():
|
||||
|
Loading…
x
Reference in New Issue
Block a user