Possible bug in PyXDG

Micah Carrick micah at quixotix.com
Thu Dec 22 06:50:28 PST 2011


Hello,

I'm not sure where to report bugs for PyXDG. If I understand the spec
correctly, a desktop entry with a type of "Link" should use the "URL" key.
The validate() method fails on such desktop entries with:

    - Key 'URL' only allowed in Type=URL



Looks like the problem is on line 267 of DesktopEntry.py in PyXDG 0.19:

    self.checkType(key, "URL")

Should be

    self.checkType(key, "Link")
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/xdg/attachments/20111222/5083a90c/attachment.html>


More information about the xdg mailing list