Skip to content

Commit

Permalink
Suprsync don't try to copy ignored files
Browse files Browse the repository at this point in the history
  • Loading branch information
jlashner committed Dec 1, 2023
1 parent 24a77aa commit f7da865
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion socs/db/suprsync.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,8 @@ def get_copyable_files(self, archive_name, session=None,
query = session.query(SupRsyncFile).filter(
SupRsyncFile.removed == None, # noqa: E711
SupRsyncFile.archive_name == archive_name,
SupRsyncFile.failed_copy_attempts < max_copy_attempts
SupRsyncFile.failed_copy_attempts < max_copy_attempts,
SupRsyncFile.ignore is False,
)

files = []
Expand Down

0 comments on commit f7da865

Please sign in to comment.