diff options
author | Guido Günther <agx@sigxcpu.org> | 2014-03-17 11:27:48 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2014-03-17 11:27:48 +0100 |
commit | d86eced1ab7f63f001814fce0c64e0afae72c93e (patch) | |
tree | 679142042372240769aac47528b173fe7d74779b /whatmaps | |
parent | 2980c2027a759465562bff1723e2cdd58033a522 (diff) |
Distro: Fail on AttributeError
since _pkg_services is by default an empty dict now and if it's not
there something is wrong.
Diffstat (limited to 'whatmaps')
-rwxr-xr-x | whatmaps | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -127,7 +127,7 @@ class Distro(object): """ try: return klass._pkg_services[pkg.name] - except (KeyError, AttributeError): + except KeyError: return [] @classmethod |