From 9c06897c7afda9872f3244049989e2bb424050f2 Mon Sep 17 00:00:00 2001 From: Daniel Gonzalez Date: Sun, 17 Jan 2016 17:32:50 +0100 Subject: [PATCH] Remove pep8 error in symantec plugin The symantec plugin contains some violations of pep8 rule E711, which is currently ignored by tox. This patch removes those viotations. Change-Id: I4f843ab49eb74c403bdb541f8f9fe79b4a61b383 --- barbican/plugin/symantec.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/barbican/plugin/symantec.py b/barbican/plugin/symantec.py index dce7d6bd8..7b753b3d8 100644 --- a/barbican/plugin/symantec.py +++ b/barbican/plugin/symantec.py @@ -53,13 +53,13 @@ class SymantecCertificatePlugin(cert.CertificatePluginBase): self.password = conf.symantec_plugin.password self.url = conf.symantec_plugin.url - if self.username == None: + if self.username is None: raise ValueError(u._("username is required")) - if self.password == None: + if self.password is None: raise ValueError(u._("password is required")) - if self.url == None: + if self.url is None: raise ValueError(u._("url is required")) def get_default_ca_name(self):