Skip to content

Commit

Permalink
Fix symlink check
Browse files Browse the repository at this point in the history
  • Loading branch information
matyasselmeci committed Dec 1, 2024
1 parent 6d69986 commit 635c0cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def migrate_one_repo(repo: Path, packages_dir: Path, dry_run: bool = False) -> b
condor_package_subdirs = get_condor_package_subdirs(repo)

for rpm in all_rpms:
if rpm.is_symlink:
if rpm.is_symlink():
# This directory might have already been migrated.
_log.debug(f"Skipping symlink {rpm}")
continue
Expand Down

0 comments on commit 635c0cc

Please sign in to comment.