Treat all failures opening the (installed) 'rpm' package for finding default groups as non-fatal.

git-svn-id: svn+ssh://rpmlint.zarb.org/home/projects/rpmlint/svn/trunk@1717 9bc8b190-ac0f-0410-8968-dc7d1f502856
This commit is contained in:
Ville Skyttä 2010-01-25 21:39:38 +00:00
parent 783895f810
commit 4c395dbfbc
1 changed files with 1 additions and 1 deletions

2
Pkg.py
View File

@ -165,7 +165,7 @@ def get_default_valid_rpmgroups(filename = None):
if not filename:
try:
p = InstalledPkg('rpm')
except KeyError:
except:
pass
else:
groupsfiles = [x for x in p.files() if x.endswith('/GROUPS')]