Branch: refs/heads/master
Home: https://github.com/openSUSE/osc2
Commit: 6e32a9cbd9c18f3c4d00033f683ee82b25627242
https://github.com/openSUSE/osc2/commit/6e32a9cbd9c18f3c4d00033f683ee82b2562...
Author: Marcus Huewe
Date: 2014-12-18 (Thu, 18 Dec 2014)
Changed paths:
M test/util/test_io.py
Log Message:
-----------
- test.util.test_io: added testcases for mkstemp
Commit: 1c59a63669bb221493729b7caf10959c847e507a
https://github.com/openSUSE/osc2/commit/1c59a63669bb221493729b7caf10959c847e...
Author: Marcus Huewe
Date: 2014-12-18 (Thu, 18 Dec 2014)
Changed paths:
M osc2/util/io.py
Log Message:
-----------
- utio.io: added mkstemp function
mkstemp returns a temporary file.
The returned instance can be treated like a str and an
instance that is returned by tempfile.NamedTemporaryFile.
For example, it can be passed to os.stat and the temporary
file is automatically deleted, if the instance is garbage
collected.
Compare: https://github.com/openSUSE/osc2/compare/a61255c2b448...1c59a63669bb