aboutsummaryrefslogtreecommitdiffstats
path: root/RepSys
diff options
context:
space:
mode:
authorBogdano Arendartchuk <bogdano@mandriva.org>2006-12-04 15:27:17 +0000
committerBogdano Arendartchuk <bogdano@mandriva.org>2006-12-04 15:27:17 +0000
commit3362fd42e4cc57d2f4241252ca6b3ef1b1e98596 (patch)
treec5c7f3e6eac5267a1eddb56eb9770dac2938577a /RepSys
parentd2588e5434995b5502bfff3cc34e9f78e43d859f (diff)
downloadmgarepo-3362fd42e4cc57d2f4241252ca6b3ef1b1e98596.tar
mgarepo-3362fd42e4cc57d2f4241252ca6b3ef1b1e98596.tar.gz
mgarepo-3362fd42e4cc57d2f4241252ca6b3ef1b1e98596.tar.bz2
mgarepo-3362fd42e4cc57d2f4241252ca6b3ef1b1e98596.tar.xz
mgarepo-3362fd42e4cc57d2f4241252ca6b3ef1b1e98596.zip
Added option "tempdir" to the [submit] section.
Diffstat (limited to 'RepSys')
-rw-r--r--RepSys/__init__.py2
1 files changed, 2 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