Blame SOURCES/bz2080729-1-fence_apc-fence_ilo_moonshot-import-logging.patch

eab3e9
From 6ea2c6b5d1cc51e93fa7084d76d9272512461e58 Mon Sep 17 00:00:00 2001
eab3e9
From: Oyvind Albrigtsen <oalbrigt@redhat.com>
eab3e9
Date: Mon, 16 May 2022 11:01:21 +0200
eab3e9
Subject: [PATCH] fence_apc/fence_ilo_moonshot: add missing "import logging"
eab3e9
eab3e9
---
eab3e9
 agents/apc/fence_apc.py                   | 1 +
eab3e9
 agents/ilo_moonshot/fence_ilo_moonshot.py | 1 +
eab3e9
 2 files changed, 2 insertions(+)
eab3e9
eab3e9
diff --git a/agents/apc/fence_apc.py b/agents/apc/fence_apc.py
eab3e9
index 901aad25e..3ea0f37d6 100644
eab3e9
--- a/agents/apc/fence_apc.py
eab3e9
+++ b/agents/apc/fence_apc.py
eab3e9
@@ -15,6 +15,7 @@
eab3e9
 #####
eab3e9
 
eab3e9
 import sys, re, time
eab3e9
+import logging
eab3e9
 import atexit
eab3e9
 sys.path.append("@FENCEAGENTSLIBDIR@")
eab3e9
 from fencing import *
eab3e9
diff --git a/agents/ilo_moonshot/fence_ilo_moonshot.py b/agents/ilo_moonshot/fence_ilo_moonshot.py
eab3e9
index 6f5cca320..1923eeb1c 100644
eab3e9
--- a/agents/ilo_moonshot/fence_ilo_moonshot.py
eab3e9
+++ b/agents/ilo_moonshot/fence_ilo_moonshot.py
eab3e9
@@ -1,6 +1,7 @@
eab3e9
 #!@PYTHON@ -tt
eab3e9
 
eab3e9
 import sys
eab3e9
+import logging
eab3e9
 import atexit
eab3e9
 sys.path.append("@FENCEAGENTSLIBDIR@")
eab3e9
 from fencing import *