Fix last commit.
authorZac Medico <zmedico@gentoo.org>
Tue, 13 Aug 2013 18:16:45 +0000 (11:16 -0700)
committerZac Medico <zmedico@gentoo.org>
Tue, 13 Aug 2013 18:16:45 +0000 (11:16 -0700)
pym/portage/util/_desktop_entry.py

index efd2136714164a3e53000bb9980a99bc48e24329..0b49547352d4601e3faf88bb92e9d317fac93b44 100644 (file)
@@ -81,7 +81,7 @@ def validate_desktop_entry(path):
                        if msg.startswith('hint: ') or msg in _ignored_errors:
                                continue
                        if 'for key "NotShowIn" in group "Desktop Entry"' in msg or \
-                               'for key "OnlyShowIn" in group "Desktop Entry"':
+                               'for key "OnlyShowIn" in group "Desktop Entry"' in msg:
                                exempt = False
                                for s in _ShowIn_exemptions:
                                        if s in msg: