15 May
2009
15 May
'09
12:07
Hi
Dne Fri, 15 May 2009 05:40:54 -0600 (MDT)
"Novell Forge SVN"
print 'Getting buildinfo from server' - bi_file = NamedTemporaryFile(suffix='.xml', prefix='buildinfo.', dir = '/tmp') + tempdir = '/tmp' + if sys.platform[:3] == 'win': + tempdir = os.getenv('TEMP')
Would not be better to use tempfile.gettempdir() regardless current platform? -- Michal Čihař | http://cihar.com | http://blog.cihar.com