From 0883e174bfdec22a4ff373041afce396cfe7fd7b Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 27 Sep 2012 09:34:36 -0700 Subject: sanba.upgradehelpers: Use standard functionality for getting temp dir. --- source4/scripting/python/samba/upgradehelpers.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'source4') 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," -- cgit