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
This commit is contained in:
parent
715eb91ae2
commit
9c06897c7a
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user