Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Internal
* Improve test coverage for DSN variable expansion.
* Test on all platforms in the Publish GitHub Action.
* Remove unused support for writing `.mylogin.cnf` files.
* Prefer `os.path.samefile()` for checkpoint distinctness test.


1.76.0 (2026/06/20)
Expand Down
2 changes: 1 addition & 1 deletion mycli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def preprocess_cli_args(
and cli_args.batch != '-'
and os.path.exists(cli_args.batch)
):
if os.stat(cli_args.batch) == os.stat(cli_args.checkpoint):
if os.path.samefile(cli_args.batch, cli_args.checkpoint):
click.secho('Error: --batch and --checkpoint must be different files.', err=True, fg='red')
sys.exit(1)

Expand Down
Loading