Skip to content

Commit 65d5b26

Browse files
committed
Move the logger into the argument list
1 parent 7e643d6 commit 65d5b26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snakemake_executor_plugin_googlebatch/executor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ def save_finished_job_logs(
541541
log_client = logging.Client(project=self.executor_settings.project)
542542
logger = log_client.logger("batch_task_logs")
543543

544-
def attempt_log_save(fname, query, page_size):
544+
def attempt_log_save(fname, logger, query, page_size):
545545
with open(fname, "w", encoding="utf-8") as logfile:
546546
for log_entry in logger.list_entries(
547547
filter_=query,

0 commit comments

Comments
 (0)