Commit b2350d8a by Michael DeHaan

Merge pull request #6480 from do3cc/patch-1

Properly catch import errors in apt
parents 47bfa8b9 38d6956c
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment