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:
parent
a232c5e26f
commit
b9d9ceb825
|
@ -147,7 +147,7 @@ class MenuCheck(AbstractCheck.AbstractCheck):
|
|||
res=xpm_ext_regex.search(f)
|
||||
if res:
|
||||
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)
|
||||
if len(menus) > 0:
|
||||
dir=pkg.dirName()
|
||||
|
|
Loading…
Reference in New Issue