requests_fetcher: Move 'tuf' import from download

requests_fetcher uses tuf.__version__ for user-agent, move the import to
the correct file.

Signed-off-by: Jussi Kukkonen <jkukkonen@vmware.com>
This commit is contained in:
Jussi Kukkonen 2021-03-01 10:17:18 +02:00
parent d0e5bd2311
commit 7dcfb12f61
2 changed files with 1 additions and 1 deletions

View file

@ -39,7 +39,6 @@
import securesystemslib # pylint: disable=unused-import
from securesystemslib import formats as sslib_formats
import tuf
from tuf import exceptions
from tuf import formats
from tuf import settings

View file

@ -12,6 +12,7 @@
import time
from urllib3.exceptions import ReadTimeoutError
import tuf
from tuf import exceptions
from tuf import settings