sarutak commented on a change in pull request #7128: [AIRFLOW-6529] Pickle error occurs when the scheduler tries to run on macOS. URL: https://github.com/apache/airflow/pull/7128#discussion_r367410298
########## File path: airflow/jobs/scheduler_job.py ########## @@ -126,7 +127,14 @@ def _run_file_processor(result_channel, log = logging.getLogger("airflow.processor") set_context(log, file_path) - setproctitle("airflow scheduler - DagFileProcessor {}".format(file_path)) + + if inherited_conf is not None: # pylint: disable=too-many-nested-blocks + for section in inherited_conf: + for key, value in inherited_conf[section].items(): + if value not in conf: + conf.set(section, key, value.replace("%", "%%")) + + setproctitle("airflow scheduler - DagFileProcessor {}".format(file_path)) Review comment: Ah, this is just a miss-indentation. I'll fix it. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services