correct the non-transparent-xpm check.

git-svn-id: svn+ssh://rpmlint.zarb.org/home/projects/rpmlint/svn/trunk@335 9bc8b190-ac0f-0410-8968-dc7d1f502856
This commit is contained in:
Frédéric Lepied 2000-11-10 10:30:16 +00:00
parent a232c5e26f
commit b9d9ceb825
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ class MenuCheck(AbstractCheck.AbstractCheck):
res=xpm_ext_regex.search(f) res=xpm_ext_regex.search(f)
if res: if res:
mode=files[f][0] mode=files[f][0]
if stat.S_ISREG(mode) and not Pkg.grep('None\',', dirname + '/' + f): if stat.S_ISREG(mode) and not Pkg.grep('None",', dirname + '/' + f):
printWarning(pkg, 'non-transparent-xpm', f) printWarning(pkg, 'non-transparent-xpm', f)
if len(menus) > 0: if len(menus) > 0:
dir=pkg.dirName() dir=pkg.dirName()