Commit 432c47b4 authored by Lucas Carvalho's avatar Lucas Carvalho

Revoved useless import and fix typo.

parent aafce11b
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
############################################################################## ##############################################################################
import base64
import hashlib import hashlib
import httplib import httplib
import json import json
...@@ -203,7 +202,7 @@ class NetworkcacheClient(object): ...@@ -203,7 +202,7 @@ class NetworkcacheClient(object):
return True return True
for certificate_url in self.signature_certificate_url_list: for certificate_url in self.signature_certificate_url_list:
file_descriptor = slapos.libconnection.download(certification_file_url) file_descriptor = slapos.libconnection.download(certificate_url)
try: try:
file_name = file_descriptor.name file_name = file_descriptor.name
if self._verifySignatureCertificate(signature_string, file_name): if self._verifySignatureCertificate(signature_string, file_name):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment