1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-02-22 21:08:48 +00:00

Fix issue with attempting to scroll through options when not-found package has no packages with matching names causing crash.

This commit is contained in:
Andrew Wonnacott 2016-11-03 03:34:41 -04:00
parent 6173913291
commit 5f6c55d839
No known key found for this signature in database
GPG Key ID: 9447B2D4A22DE17B

View File

@ -25,7 +25,7 @@ def get_pkgfile(command):
return [package.split()[0] for package in packages] return [package.split()[0] for package in packages]
except subprocess.CalledProcessError: except subprocess.CalledProcessError:
return None return []
def archlinux_env(): def archlinux_env():