projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a07c8e
)
validate_desktop_entry: handle df-utils-0.21 hint
author
Zac Medico
<zmedico@gentoo.org>
Sun, 28 Oct 2012 19:25:58 +0000
(12:25 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 28 Oct 2012 19:25:58 +0000
(12:25 -0700)
pym/portage/util/_desktop_entry.py
patch
|
blob
|
history
diff --git
a/pym/portage/util/_desktop_entry.py
b/pym/portage/util/_desktop_entry.py
index 2973d12fffd0405f1ecbaa34252fe9e914157dd0..54b095030affca272ff83d2ef88862574c22a434 100644
(file)
--- 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