GNOME Bugzilla – Bug 659502
tempfile suffix incorrectly set to 'None' for the temporary binary
Last modified: 2015-02-07 17:01:32 UTC
I set ext to None in commit f2a70843905839a1b11795310d2aa3b85a474e77 without realizing _generate_tempfile does a simple string formatting. A simple test proves this does not generate an empty string: $ python -c "f = '%s' % None; print f, type(f)" None <type 'str'> So pass an empty string instead of None for the suffix parameter.
Created attachment 196987 [details] [review] Fix incorrect extension for tempfile
Review of attachment 196987 [details] [review]: Looks good, thanks for the quick fix.
[20:26] <dieterv> walters: do I have to request a code freeze exception before pushing, or is the freeze not yet in effect? [20:31] <walters> i actually don't know at what hour the freeze technically starts [20:31] <walters> but you have my 1/2 as R-T to push this Committed & pushed. Thanks for spotting & reviewing this and allowing the fix to get in!
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]