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

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