A simpler solution might be to remove _ from the list of chars that tempfile
uses to create filenames, with something like:
tempfile._RandomNameSequence.characters =
tempfile._RandomNameSequence.characters.strip("_")
It seems to work ok: http://pastebin.ubuntu.com/7831443/
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1329141
Title:
Two underscores in .desktop file name causes assumption that this is
an appId and app is rejected.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qtmir/+bug/1329141/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs