]> err.no Git - dak/commit
temp_filename
authorJoerg Jaspert <joerg@debian.org>
Fri, 23 Jan 2009 23:06:54 +0000 (00:06 +0100)
committerJoerg Jaspert <joerg@debian.org>
Fri, 23 Jan 2009 23:06:54 +0000 (00:06 +0100)
commit158e9baf0e519d1af426df73b693008abacb3c26
tree2eb7d6691157161ec4e61c61bf8e8605076f4e23
parent6fc6e6646071c736803bd1b5f41cb1367fd1bc31
temp_filename

stop using mktemp and use mkstemp. Also use the functions with all their
features, like setting prefix, instead of trying to do that ourself.
Yikes, one-liner now, could remove the function alltogether and instead
use mkstemp directly, but *maybe* we want to get more code into here,
so lets keep it for now.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
daklib/utils.py