Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r303:23b8edbb7fae
Date: 2014-12-16 20:17 +0000
http://bitbucket.org/pypy/benchmarks/changeset/23b8edbb7fae/

Log:    Pick a directory name in /tmp that doesn't conflict with different
        users, because then we get permission denied

diff --git a/own/icbd/icbd/type_analyzer/analyze_all.py 
b/own/icbd/icbd/type_analyzer/analyze_all.py
--- a/own/icbd/icbd/type_analyzer/analyze_all.py
+++ b/own/icbd/icbd/type_analyzer/analyze_all.py
@@ -73,7 +73,7 @@
         prune_amount = 0
 
     if output_dir is None:
-        output_dir = os.path.join("/tmp", "icbd_%s" % proj_name)
+        output_dir = os.path.join("/tmp", "icbd_%s_%d" % (proj_name, 
os.getuid()))
 
     static_dir = os.path.join(output_dir, "static")
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to