andykimpe / rpms / 389-ds-base

Forked from rpms/389-ds-base 5 months ago
Clone

Blame SOURCES/0012-Issue-50798-incorrect-bytes-in-format-string-fix-imp.patch

8394b4
From d9b1b71b87517d12b88464d5475baff4c6cc25ab Mon Sep 17 00:00:00 2001
8394b4
From: Mark Reynolds <mreynolds@redhat.com>
8394b4
Date: Mon, 13 Jan 2020 17:17:40 -0500
8394b4
Subject: [PATCH] Issue 50798 - incorrect bytes in format string(fix import
8394b4
 issue)
8394b4
8394b4
Description: The previous commit did not import ensure_list_str() from
8394b4
             utils.py
8394b4
8394b4
relates: https://pagure.io/389-ds-base/issue/50798
8394b4
8394b4
Reviewed by: mreynolds (one line commit rule)
8394b4
---
8394b4
 src/lib389/lib389/instance/remove.py | 2 +-
8394b4
 src/lib389/lib389/instance/setup.py  | 1 +
8394b4
 2 files changed, 2 insertions(+), 1 deletion(-)
8394b4
8394b4
diff --git a/src/lib389/lib389/instance/remove.py b/src/lib389/lib389/instance/remove.py
8394b4
index c9a872eb7..7a69da514 100644
8394b4
--- a/src/lib389/lib389/instance/remove.py
8394b4
+++ b/src/lib389/lib389/instance/remove.py
8394b4
@@ -11,7 +11,7 @@ import shutil
8394b4
 import subprocess
8394b4
 import logging
8394b4
 from lib389.nss_ssl import NssSsl
8394b4
-from lib389.utils import selinux_label_port, assert_c
8394b4
+from lib389.utils import selinux_label_port, assert_c, ensure_list_str
8394b4
 
8394b4
 
8394b4
 ######################## WARNING #############################
8394b4
diff --git a/src/lib389/lib389/instance/setup.py b/src/lib389/lib389/instance/setup.py
8394b4
index bb0ff32f5..61ffc32ee 100644
8394b4
--- a/src/lib389/lib389/instance/setup.py
8394b4
+++ b/src/lib389/lib389/instance/setup.py
8394b4
@@ -33,6 +33,7 @@ from lib389.utils import (
8394b4
     assert_c,
8394b4
     is_a_dn,
8394b4
     ensure_str,
8394b4
+    ensure_list_str,
8394b4
     normalizeDN,
8394b4
     socket_check_open,
8394b4
     selinux_label_port,
8394b4
-- 
8394b4
2.21.1
8394b4