Skip to content

Commit

Permalink
update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
koenvanderveen committed Oct 24, 2024
1 parent 70a73ec commit 1cdfcca
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion syftbox/client/plugins/sync/consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,11 @@ def process_decision(self, item: SyncQueueItem, decision: SyncDecisionTuple):

decision.local_decision.execute(self.client)

# if its a decision from the server, we can still do that
# we want to make sure that
# 1) We never upload invalid syftperm files
# 2) We allow for modifications/deletions of syftperm files, even if the local version
# is corrupted

skip_remote = self.invalid_remote_permission_change(decision.remote_decision, abs_path)
if skip_remote:
logger.error(f"Trying to sync invalid permfile {item.data.path}")
Expand Down

0 comments on commit 1cdfcca

Please sign in to comment.