Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
rpmlint
detailed-desktop-file-check.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File detailed-desktop-file-check.diff of Package rpmlint
--- MenuXDGCheck.py +++ MenuXDGCheck.py @@ -21,8 +21,12 @@ def check_file(self, pkg, filename): f = pkg.dirName() + filename - if getstatusoutput(('desktop-file-validate', f), True)[0]: - printError(pkg, 'invalid-desktopfile', filename) + st = getstatusoutput(('desktop-file-validate', f), True) + if st[0]: + if st[1].find('error:') != -1: + printError(pkg, 'invalid-desktopfile', filename, st[1].split('error: ')[1]) + else: + printError(pkg, 'invalid-desktopfile', filename) if not is_utf8(f): printError(pkg, 'non-utf8-desktopfile', filename)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor