Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > a01aed98d9a498638352fda6bed0d9e6 > files > 4

rpmlint-1.5-6.fc18.src.rpm

--- a/TagsCheck.py
+++ b/TagsCheck.py
@@ -464,6 +464,8 @@
             # squeeze whitespace to ease leading context check
             checker.set_text(re.sub(r'\s+', ' ', str))
             uppername = pkg.name.upper()
+            if use_utf8:
+                uppername = Pkg.to_utf8(uppername).decode('utf-8')
             upperparts = uppername.split('-')
             if lang.startswith('en'):
                 ups = [x + "'S" for x in upperparts]