mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
New API: Fix exception message for version
Signed-off-by: Martin Vrachev <mvrachev@vmware.com>
This commit is contained in:
parent
b5c8ba007e
commit
cbc814ffa8
1 changed files with 1 additions and 1 deletions
|
|
@ -317,7 +317,7 @@ def __init__(
|
|||
|
||||
# TODO: Should we separate data validation from constructor?
|
||||
if version < 0:
|
||||
raise ValueError(f"version must be < 0, got {version}")
|
||||
raise ValueError(f"version must be >= 0, got {version}")
|
||||
self.version = version
|
||||
|
||||
@staticmethod
|
||||
|
|
|
|||
Loading…
Reference in a new issue