a2478bf
From 4f9aafca9a9927812da5e37ce71d79d1fd23b25a Mon Sep 17 00:00:00 2001
a2478bf
From: Matus Honek <mhonek@redhat.com>
a2478bf
Date: Thu, 16 Jan 2020 12:21:45 +0100
a2478bf
Subject: [PATCH 1/2] Issue 50824 - dsctl remove fails with "name 'ensure_str'
a2478bf
 is not defined"
a2478bf
a2478bf
Bug Description:
a2478bf
Missing import since commit c39c7bb.
a2478bf
a2478bf
Fix Description:
a2478bf
Add the import.
a2478bf
a2478bf
Fixes https://pagure.io/389-ds-base/issue/50824
a2478bf
a2478bf
Author: Matus Honek <mhonek@redhat.com>
a2478bf
a2478bf
Review by: Mark (thanks!)
a2478bf
---
a2478bf
 src/lib389/lib389/instance/remove.py | 2 +-
a2478bf
 1 file changed, 1 insertion(+), 1 deletion(-)
a2478bf
a2478bf
diff --git a/src/lib389/lib389/instance/remove.py b/src/lib389/lib389/instance/remove.py
a2478bf
index e54e64e5c..e48b294df 100644
a2478bf
--- a/src/lib389/lib389/instance/remove.py
a2478bf
+++ b/src/lib389/lib389/instance/remove.py
a2478bf
@@ -11,7 +11,7 @@ import shutil
a2478bf
 import subprocess
a2478bf
 import logging
a2478bf
 from lib389.nss_ssl import NssSsl
a2478bf
-from lib389.utils import selinux_label_port, assert_c, ensure_list_str
a2478bf
+from lib389.utils import selinux_label_port, assert_c, ensure_str, ensure_list_str
a2478bf
 
a2478bf
 
a2478bf
 ######################## WARNING #############################
a2478bf
-- 
a2478bf
2.24.1
a2478bf