mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Remove tufformats from tufcli.py
This commit is contained in:
parent
1f40a11fcb
commit
b4fb6fa25f
1 changed files with 2 additions and 2 deletions
|
|
@ -69,7 +69,7 @@
|
|||
|
||||
import tuf
|
||||
import tuf.log
|
||||
import tuf.tufformats
|
||||
import tuf.formats
|
||||
|
||||
from tuf.repository_tool import *
|
||||
|
||||
|
|
@ -104,7 +104,7 @@ def update_repository(repository_path, command, command_arguments):
|
|||
# Do the arguments have the correct format?
|
||||
tuf.ssl_crypto.formats.URL_SCHEMA.check_match(repository_path)
|
||||
tuf.ssl_crypto.formats.NAME_SCHEMA.check_match(command)
|
||||
tuf.tufformats.COMMAND_SCHEMA.check_match(command_arguments)
|
||||
tuf.formats.COMMAND_SCHEMA.check_match(command_arguments)
|
||||
|
||||
# Set the local repository directory containing all of the metadata files.
|
||||
settings.repository_directory = repository_path
|
||||
|
|
|
|||
Loading…
Reference in a new issue