mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Merge pull request #839 from theupdateframework/pylint_fix_exception_subscripting
Resolve pylint error: remove outdated exception subscript
This commit is contained in:
commit
58be640faf
1 changed files with 4 additions and 3 deletions
|
|
@ -390,9 +390,10 @@ def status(self):
|
|||
self.repository_name)
|
||||
self._log_status(self.project_name, signable, self.repository_name)
|
||||
|
||||
except securesystemslib.exceptions.Error as e:
|
||||
signable = e[1]
|
||||
self._log_status(self.project_name, signable, self.repository_name)
|
||||
except tuf.exceptions.UnsignedMetadataError as e:
|
||||
# This error is raised if the metadata has insufficient signatures to
|
||||
# meet the threshold.
|
||||
self._log_status(self.project_name, e.signable, self.repository_name)
|
||||
return
|
||||
|
||||
finally:
|
||||
|
|
|
|||
Loading…
Reference in a new issue