[tor-commits] [torouter/master] Write to /var/tmp
hellais at torproject.org
hellais at torproject.org
Fri Aug 19 13:59:24 UTC 2011
commit 61ed2b6b5c7605a9faf4ad531d7dc3f1eb1b1f2d
Author: Arturo FilastoÌ <hellais at torproject.org>
Date: Fri Aug 19 15:54:47 2011 +0200
Write to /var/tmp
---
packages/torouter-web/src/tui/utils/fileio.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/packages/torouter-web/src/tui/utils/fileio.py b/packages/torouter-web/src/tui/utils/fileio.py
index 87c6362..aea5462 100644
--- a/packages/torouter-web/src/tui/utils/fileio.py
+++ b/packages/torouter-web/src/tui/utils/fileio.py
@@ -3,7 +3,7 @@ import os
def write(files):
tmpfiles = []
for file in files:
- tmpfile = "/tmp/" + file[0].split("/")[-1:][0] + ".tmp"
+ tmpfile = "/var/tmp/" + file[0].split("/")[-1:][0] + ".tmp"
tmpfiles.append((tmpfile,file[0]))
# open the tmp file for write
f = open(tmpfile, 'w')
More information about the tor-commits
mailing list