Skip to content

Commit

Permalink
pyqt5_to_pyqt6/pyqt5_to_pyqt6.py: directly use dry run value from args
Browse files Browse the repository at this point in the history
Co-authored-by: Nicolas Godet <[email protected]>
  • Loading branch information
florentfougeres and nicogodet authored Mar 7, 2025
1 parent 4622203 commit 28da687
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/pyqt5_to_pyqt6/pyqt5_to_pyqt6.py
Original file line number Diff line number Diff line change
Expand Up @@ -875,9 +875,7 @@ def main(argv: Sequence[str] | None = None) -> int:

ret = 0

dry_run = args.dry_run if args.dry_run else False

if dry_run:
if args.dry_run:
logging.info("=== dry_run mode | Start Logs ===")

for filename in glob.glob(os.path.join(args.directory, "**/*.py"), recursive=True):
Expand Down

0 comments on commit 28da687

Please sign in to comment.