- 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:
Michael Scherer 2006-07-14 19:35:11 +00:00 committed by Ville Skyttä
parent 5c400d2499
commit 444bb748c4
1 changed files with 1 additions and 1 deletions

View File

@ -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)