forked from pool/rpmlint
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=565
This commit is contained in:
parent
e420fc7839
commit
f3e40f9a67
@ -41,7 +41,7 @@ Index: rpmlint-rpmlint-1.10/MenuXDGCheck.py
|
||||
+ def parse_desktop_file(self, pkg, root, f, filename):
|
||||
+ cfp = cfgparser.RawConfigParser()
|
||||
+ try:
|
||||
+ with open(f, 'rb') as inputf:
|
||||
+ with open(f, 'r') as inputf:
|
||||
+ cfp.readfp(inputf, filename)
|
||||
+ except cfgparser.DuplicateSectionError as e:
|
||||
+ printError(
|
||||
|
Loading…
Reference in New Issue
Block a user