aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--RepSys/__init__.py2
-rw-r--r--repsys.conf3
2 files changed, 5 insertions, 0 deletions
diff --git a/RepSys/__init__.py b/RepSys/__init__.py
index c394746..94697d1 100644
--- a/RepSys/__init__.py
+++ b/RepSys/__init__.py
@@ -1,10 +1,12 @@
#!/usr/bin/python
import re
import os
+import tempfile
import ConfigParser
config = ConfigParser.Config()
+tempfile.tempdir = config.get("submit", "tempdir", None) or None # when ""
del ConfigParser
class Error(Exception): pass
diff --git a/repsys.conf b/repsys.conf
index 783a2e0..72b10c3 100644
--- a/repsys.conf
+++ b/repsys.conf
@@ -27,6 +27,9 @@ helio = Helio Chissini de Castro <helio@mandriva.com>
lmontel = Laurent Montel <lmontel@mandriva.com>
oden = Oden Eriksson <oeriksson@mandriva.com>
+[submit]
+tempdir =
+
[submit Cooker]
target = /export/home/repsys
allowed = svn+ssh://svn.mandriva.com/svn/packages/cooker