1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-06 08:59:08 +03:00

upgrade: Properly cancel/commit transactions in a couple more places.

This commit is contained in:
Jelmer Vernooij
2010-06-13 15:13:12 +02:00
parent 956a256faa
commit 3552ad3ab1
2 changed files with 133 additions and 120 deletions

View File

@ -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)