summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2012-09-27 09:34:36 -0700
committerJelmer Vernooij <jelmer@samba.org>2012-09-27 18:45:12 +0200
commit0883e174bfdec22a4ff373041afce396cfe7fd7b (patch)
treef1e36da627994cde30af4087f2927d967540e46d /source4
parent2a797f29aa12f6847844af504026be52db659fbb (diff)
downloadsamba-0883e174bfdec22a4ff373041afce396cfe7fd7b.tar.gz
samba-0883e174bfdec22a4ff373041afce396cfe7fd7b.tar.bz2
samba-0883e174bfdec22a4ff373041afce396cfe7fd7b.zip
sanba.upgradehelpers: Use standard functionality for getting temp dir.
Diffstat (limited to 'source4')
-rw-r--r--source4/scripting/python/samba/upgradehelpers.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/scripting/python/samba/upgradehelpers.py b/source4/scripting/python/samba/upgradehelpers.py
index ebb038eba8..55de4be9e4 100644
--- a/source4/scripting/python/samba/upgradehelpers.py
+++ b/source4/scripting/python/samba/upgradehelpers.py
@@ -940,9 +940,6 @@ def print_provision_ranges(dic, limit_print, dest, samdb_path, invocationid):
obj["max"], id)
if ldif != "":
- if dest is None:
- dest = "/tmp"
-
file = tempfile.mktemp(dir=dest, prefix="usnprov", suffix=".ldif")
print
print "To track the USNs modified/created by provision and upgrade proivsion,"