summaryrefslogtreecommitdiff
path: root/source4/scripting/python
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-06-13 15:13:12 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-06-13 18:19:03 +0200
commit3552ad3ab13a97c28925713dcea01d1e01df8868 (patch)
treeb6bb9c3ffec68931a7484dd0be7b200b013873df /source4/scripting/python
parent956a256faa035fbc43dbd37273d1c5d62aee0735 (diff)
downloadsamba-3552ad3ab13a97c28925713dcea01d1e01df8868.tar.gz
samba-3552ad3ab13a97c28925713dcea01d1e01df8868.tar.bz2
samba-3552ad3ab13a97c28925713dcea01d1e01df8868.zip
upgrade: Properly cancel/commit transactions in a couple more places.
Diffstat (limited to 'source4/scripting/python')
-rwxr-xr-xsource4/scripting/python/samba/upgradehelpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/upgradehelpers.py b/source4/scripting/python/samba/upgradehelpers.py
index a9b020285e..a9efa9ed5a 100755
--- a/source4/scripting/python/samba/upgradehelpers.py
+++ b/source4/scripting/python/samba/upgradehelpers.py
@@ -173,7 +173,7 @@ def newprovision(names, setup_dir, creds, session, smbconf, provdir, logger):
:param session: Session object
:param smbconf: Path to the smb.conf file
:param provdir: Directory where the provision will be stored
- :param messagefunc: A function for displaying the message of the provision
+ :param logger: A `Logger`
"""
if os.path.isdir(provdir):
shutil.rmtree(provdir)