- really fix the call to desktop-file-validate
git-svn-id: svn+ssh://rpmlint.zarb.org/home/projects/rpmlint/svn/trunk@1251 9bc8b190-ac0f-0410-8968-dc7d1f502856
This commit is contained in:
parent
5c400d2499
commit
444bb748c4
|
@ -21,7 +21,7 @@ class MenuXDGCheck(AbstractCheck.AbstractFilesCheck):
|
|||
|
||||
def check_file(self, pkg, filename):
|
||||
f = pkg.dirName() + filename
|
||||
if subprocess.call('desktop-file-validate', f):
|
||||
if subprocess.call(['desktop-file-validate', f]):
|
||||
printError(pkg, 'invalid-desktopfile', f)
|
||||
if not is_utf8(f):
|
||||
printError(pkg, 'non-utf8-desktopfile', f)
|
||||
|
|
Loading…
Reference in New Issue