Fix 'os.isFile' typo in repository_tool.py

Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
This commit is contained in:
Vladimir Diaz 2018-04-06 13:49:03 -04:00
parent 24a0cec633
commit d23f729814
No known key found for this signature in database
GPG key ID: 5DEE9B97B0E2289A

View file

@ -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