mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Fix 'os.isFile' typo in repository_tool.py
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
This commit is contained in:
parent
24a0cec633
commit
d23f729814
1 changed files with 2 additions and 2 deletions
|
|
@ -2706,8 +2706,8 @@ def _locate_and_update_target_in_bin(self, target_filepath, method_name):
|
|||
|
||||
# Log warning if 'target_filepath' is not located in the repository's
|
||||
# targets directory.
|
||||
if not os.isfile(os.path.join(self._targets_directory, target_filepath):
|
||||
logger.warning(repr(filepath) + ' is not located in the'
|
||||
if not os.path.isfile(os.path.join(self._targets_directory, target_filepath)):
|
||||
logger.warning(repr(target_filepath) + ' is not located in the'
|
||||
' repository\'s targets directory: ' + repr(self._targets_directory))
|
||||
|
||||
# Determine the hash prefix of 'target_path' by computing the digest of
|
||||
|
|
|
|||
Loading…
Reference in a new issue