lint errors fixed
This commit is contained in:
parent
9b2ac32d70
commit
a0517d26fa
|
@ -372,7 +372,7 @@ class EntrustSourcePlugin(SourcePlugin):
|
|||
data = {'response': 'No detailed message'}
|
||||
status_code = response.status_code
|
||||
if status_code > 399:
|
||||
raise Exception(f"ENTRUST error: {msg.get(status_code, status_code)}\n{data['errors']}")
|
||||
raise Exception(f"ENTRUST error: {status_code}\n{data['errors']}")
|
||||
# current_app.logger.info(f"recevied: {data['summary']}")
|
||||
for c in data["certificates"]:
|
||||
download_url = "{0}{1}".format(
|
||||
|
@ -396,7 +396,6 @@ class EntrustSourcePlugin(SourcePlugin):
|
|||
current_app.logger.info(f"Result: {certs}")
|
||||
return certs
|
||||
|
||||
|
||||
def get_endpoints(self, options, **kwargs):
|
||||
# There are no endpoints in ENTRUST
|
||||
raise NotImplementedError("Not implemented\n", self, options, **kwargs)
|
||||
|
|
Loading…
Reference in New Issue