Comment 20 for bug 1329141

Revision history for this message
Alejandro J. Cura (alecu) wrote :

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/