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:
@ -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)
|
||||
|
Reference in New Issue
Block a user