diff options
-rw-r--r-- | pym/portage/util/_desktop_entry.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pym/portage/util/_desktop_entry.py b/pym/portage/util/_desktop_entry.py index 2973d12ff..54b095030 100644 --- a/pym/portage/util/_desktop_entry.py +++ b/pym/portage/util/_desktop_entry.py @@ -62,7 +62,9 @@ def validate_desktop_entry(path): if output_lines: filtered_output = [] for line in output_lines: - if line[len(path)+2:] in _ignored_errors: + msg = line[len(path)+2:] + # "hint:" output is new in desktop-file-utils-0.21 + if msg.startswith('hint: ') or msg in _ignored_errors: continue filtered_output.append(line) output_lines = filtered_output |