Skip to content

Commit

Permalink
Fix logging around which files are used
Browse files Browse the repository at this point in the history
  • Loading branch information
n8felton committed Jan 4, 2024
1 parent a75d4af commit adfbe11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.py
Original file line number Diff line number Diff line change
Expand Up @@ -1089,13 +1089,13 @@ def copy_file_to_target(file, temp_dir):
pyproject_target_file = copy_file_to_target(pyproject_file, temp_dir)

if os.path.isfile(poetry_lock_file):
log.info("Using poetry lock file: %s", poetry_lock_file)
log.info("Using poetry.lock file: %s", poetry_lock_file)
poetry_lock_target_file = copy_file_to_target(poetry_lock_file, temp_dir)
else:
poetry_lock_target_file = None

if os.path.isfile(poetry_toml_file):
log.info("Using poetry configuration file: %s", poetry_lock_file)
log.info("Using poetry.toml configuration file: %s", poetry_toml_file)
poetry_toml_target_file = copy_file_to_target(poetry_toml_file, temp_dir)
else:
poetry_toml_target_file = None
Expand Down

0 comments on commit adfbe11

Please sign in to comment.