Skip to content

Commit

Permalink
requests_fetcher: Move 'tuf' import from download
Browse files Browse the repository at this point in the history
requests_fetcher uses tuf.__version__ for user-agent, move the import to
the correct file.

Signed-off-by: Jussi Kukkonen <jkukkonen@vmware.com>
  • Loading branch information
Jussi Kukkonen committed Mar 4, 2021
1 parent 2289174 commit 70f4fae
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion tuf/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions tuf/requests_fetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import time
from urllib3.exceptions import ReadTimeoutError

import tuf
from tuf import exceptions
from tuf import settings

Expand Down

0 comments on commit 70f4fae

Please sign in to comment.