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

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