portage.util._desktop_entry module¶
- portage.util._desktop_entry.parse_desktop_entry(path)¶
Parse the given file with RawConfigParser and return the result. This may raise an IOError from io.open(), or a ParsingError from RawConfigParser.
- portage.util._desktop_entry.validate_desktop_entry(path)¶