pgreco / rpms / ipa

Forked from forks/areguera/rpms/ipa 4 years ago
Clone

Blame SOURCES/0050-Remove-unused-variable-from-failed-anonymous-PKINIT-.patch

483b06
From 7b4ef6d23fb335d99b38347f1c4516a21222231e Mon Sep 17 00:00:00 2001
483b06
From: Martin Babinsky <mbabinsk@redhat.com>
483b06
Date: Wed, 22 Mar 2017 10:01:34 +0100
483b06
Subject: [PATCH] Remove unused variable from failed anonymous PKINIT handling
483b06
483b06
https://pagure.io/freeipa/issue/6792
483b06
483b06
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
483b06
---
483b06
 ipaserver/install/krbinstance.py | 2 +-
483b06
 1 file changed, 1 insertion(+), 1 deletion(-)
483b06
483b06
diff --git a/ipaserver/install/krbinstance.py b/ipaserver/install/krbinstance.py
483b06
index d936cc5f4f47e0e641a2d9ba4f943aab0301045c..c817076249a224347421b1bf18088eecb8eb345f 100644
483b06
--- a/ipaserver/install/krbinstance.py
483b06
+++ b/ipaserver/install/krbinstance.py
483b06
@@ -413,7 +413,7 @@ class KrbInstance(service.Service):
483b06
         with ipautil.private_ccache() as anon_ccache:
483b06
             try:
483b06
                 ipautil.run([paths.KINIT, '-n', '-c', anon_ccache])
483b06
-            except ipautil.CalledProcessError as e:
483b06
+            except ipautil.CalledProcessError:
483b06
                 raise RuntimeError("Failed to configure anonymous PKINIT")
483b06
 
483b06
     def enable_ssl(self):
483b06
-- 
483b06
2.12.2
483b06