1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #6480 from do3cc/patch-1

Properly catch import errors in apt
This commit is contained in:
Michael DeHaan 2014-03-14 08:02:10 -05:00
commit b2350d8aaf

View file

@ -153,7 +153,7 @@ HAS_PYTHON_APT = True
try:
import apt
import apt_pkg
except:
except ImportError:
HAS_PYTHON_APT = False
def package_split(pkgspec):