SHA256
1
0
forked from pool/rpmlint
Dirk Mueller 2018-02-13 12:41:11 +00:00 committed by Git OBS Bridge
parent e420fc7839
commit f3e40f9a67

View File

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