Fix exception name

This commit is contained in:
Vladimir Diaz 2017-08-31 17:14:52 -04:00
parent afe8b3a63a
commit 8eaef81689
No known key found for this signature in database
GPG key ID: 5DEE9B97B0E2289A

View file

@ -1078,7 +1078,7 @@ def _get_metadata_file(self, metadata_role, remote_filename,
' major version number: ' + repr(SUPPORTED_MAJOR_VERSION))
except (ValueError, TypeError):
raise securesystemslib.excep4tions.FormatError('Improperly'
raise securesystemslib.exceptions.FormatError('Improperly'
' formatted spec_version, which must be in major.minor.fix format')
# If the version number is unspecified, ensure that the version number