Wednesday, April 5, 2017

[389-commits] [lib389] 01/01: Issue 16 - Reset InstScriptsEnabled argument during the init

This is an automated email from the git hooks/post-receive script.

spichugi pushed a commit to branch master
in repository lib389.

commit e8dc7f17eae9a61913d40e22ba823420e5b30928
Author: Simon Pichugin <spichugi@redhat.com>
Date: Tue Apr 4 14:30:17 2017 +0200

Issue 16 - Reset InstScriptsEnabled argument during the init

Bug description: the InstScriptsEnabled argument is reused for the next
instance setups and it affects script directory creation.

Fix description: Reset the InstScriptsEnabled argument before instance
setup.

https://pagure.io/lib389/issue/16

Reviewed by: wibrown (Thanks!)
---
lib389/__init__.py | 1 +
1 file changed, 1 insertion(+)

diff --git a/lib389/__init__.py b/lib389/__init__.py
index df9f55e..e048f79 100644
--- a/lib389/__init__.py
+++ b/lib389/__init__.py
@@ -385,6 +385,7 @@ class DirSrv(SimpleLDAPObject, object):
args_instance[SER_USER_ID] = None
args_instance[SER_GROUP_ID] = None
args_instance[SER_REALM] = None
+ args_instance[SER_INST_SCRIPTS_ENABLED] = None

# We allocate a "default" prefix here which allows an un-allocate or
# un-instantiated DirSrv

--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
389-commits mailing list -- 389-commits@lists.fedoraproject.org
To unsubscribe send an email to 389-commits-leave@lists.fedoraproject.org

No comments:

Post a Comment