Lines Matching refs:tmpfile
70 tmpfile = os.path.join(tmpdir, "file")
71 tmpfileobj = file(tmpfile, 'w')
74 return tmpfile
79 tmpfile = os.path.join(tmpdir, os.path.basename(location))
80 utils.urlretrieve(location, tmpfile)
81 return tmpfile
89 tmpfile = os.path.join(tmpdir, os.path.basename(location))
91 tmpfile += '/'
92 shutil.copytree(location, tmpfile, symlinks=True)
93 return tmpfile
94 shutil.copyfile(location, tmpfile)
95 return tmpfile
98 tmpfd, tmpfile = tempfile.mkstemp(dir=tmpdir)
102 return tmpfile