[Pki-devel] [PATCH] 533 Fixed pylint failure on F21.
Endi Sukma Dewata
edewata at redhat.com
Mon Oct 27 14:48:01 UTC 2014
The build failed on F21 due to stricter pylint requirements which
generate new warnings. For now they are marked to be ignored.
--
Endi S. Dewata
-------------- next part --------------
From baeee83b3836e16964c6f1d803e4399d165bd5a4 Mon Sep 17 00:00:00 2001
From: "Endi S. Dewata" <edewata at redhat.com>
Date: Sun, 26 Oct 2014 22:26:03 -0400
Subject: [PATCH] Fixed pylint failure on F21.
The build failed on F21 due to stricter pylint requirements which
generate new warnings. For now they are marked to be ignored.
---
base/common/python/pki/upgrade.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/base/common/python/pki/upgrade.py b/base/common/python/pki/upgrade.py
index 5d6af821ae44c44adc683dc8f7b37ed9f1bc581e..9ff89fa92a7da8d1254e6081752b68840270f9be 100644
--- a/base/common/python/pki/upgrade.py
+++ b/base/common/python/pki/upgrade.py
@@ -622,7 +622,7 @@ class PKIUpgrader(object):
except pki.PKIException:
raise
- except Exception as e:
+ except Exception as e: # pylint: disable-msg=W0703
print
@@ -689,7 +689,7 @@ class PKIUpgrader(object):
except pki.PKIException:
raise
- except Exception as e:
+ except Exception as e: # pylint: disable-msg=W0703
print
--
1.8.4.2
More information about the Pki-devel
mailing list