diff options
author | Christian Heimes <cheimes@redhat.com> | 2015-06-15 17:22:09 +0200 |
---|---|---|
committer | Christian Heimes <cheimes@redhat.com> | 2015-06-16 16:57:24 +0200 |
commit | 6286bcbdc3675c4d5c92ac65a6602d136911a0f7 (patch) | |
tree | e17be3b1c9b18f88186f573ad59a70cd6b018c8f /base/server/upgrade/10.0.5/01-EnableSessionInAuthenticator | |
parent | a277f2740398a5574f9b4da46e869b05fef17a18 (diff) | |
download | pki-6286bcbdc3675c4d5c92ac65a6602d136911a0f7.tar.gz pki-6286bcbdc3675c4d5c92ac65a6602d136911a0f7.tar.xz pki-6286bcbdc3675c4d5c92ac65a6602d136911a0f7.zip |
Run pylint on upgrade scripts
pylint-build-scan.sh doesn't checked the upgrader's Python files yet.
This patch adds the common and server upgrade scripts to
pylint-build-scan.sh. It also fixes a couple of pylint violations,
mostly missing calls to __init__().
Diffstat (limited to 'base/server/upgrade/10.0.5/01-EnableSessionInAuthenticator')
-rwxr-xr-x | base/server/upgrade/10.0.5/01-EnableSessionInAuthenticator | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/base/server/upgrade/10.0.5/01-EnableSessionInAuthenticator b/base/server/upgrade/10.0.5/01-EnableSessionInAuthenticator index 7aee78089..fe954c662 100755 --- a/base/server/upgrade/10.0.5/01-EnableSessionInAuthenticator +++ b/base/server/upgrade/10.0.5/01-EnableSessionInAuthenticator @@ -28,9 +28,8 @@ import pki.server.upgrade class EnableSessionInAuthenticator(pki.server.upgrade.PKIServerUpgradeScriptlet): def __init__(self): - + super(EnableSessionInAuthenticator, self).__init__() self.message = 'Enable session in authenticator' - self.parser = etree.XMLParser(remove_blank_text=True) def upgrade_subsystem(self, instance, subsystem): |