aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--RepSys/__init__.py2
-rw-r--r--repsys.conf4
2 files changed, 2 insertions, 4 deletions
diff --git a/RepSys/__init__.py b/RepSys/__init__.py
index 94697d1..b303065 100644
--- a/RepSys/__init__.py
+++ b/RepSys/__init__.py
@@ -6,7 +6,7 @@ import tempfile
import ConfigParser
config = ConfigParser.Config()
-tempfile.tempdir = config.get("submit", "tempdir", None) or None # when ""
+tempfile.tempdir = config.get("global", "tempdir", None) or None # when ""
del ConfigParser
class Error(Exception): pass
diff --git a/repsys.conf b/repsys.conf
index 72b10c3..cec6fa6 100644
--- a/repsys.conf
+++ b/repsys.conf
@@ -2,6 +2,7 @@
verbose = no
default_parent = svn+ssh://svn.mandriva.com/svn/packages/cooker
url-map = svn\+ssh://svn\.mandriva\.com/(.*) file:///\1
+#tempdir = /tmp
[log]
oldurl = svn+ssh://svn.mandriva.com/svn/packages/misc
@@ -27,9 +28,6 @@ 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