Skip to content

Commit 9698352

Browse files
Fix broken conditional
1 parent 5d59e5c commit 9698352

File tree

1 file changed

+1
-1
lines changed
  • src/clusterfuzz/_internal/bot/tasks

1 file changed

+1
-1
lines changed

src/clusterfuzz/_internal/bot/tasks/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ def _is_data_bundle_up_to_date(data_bundle, data_bundle_directory):
718718
"""Return true if the data bundle is up to date, false otherwise."""
719719
sync_file_path = _get_data_bundle_sync_file_path(data_bundle_directory)
720720

721-
if not (take_trusted_host_path() and data_bundle.sync_to_worker):
721+
if take_trusted_host_path() and data_bundle.sync_to_worker:
722722
from clusterfuzz._internal.bot.untrusted_runner import file_host
723723
worker_sync_file_path = file_host.rebase_to_worker_root(sync_file_path)
724724
shell.remove_file(sync_file_path)

0 commit comments

Comments
 (0)