ashb commented on a change in pull request #12184:
URL: https://github.com/apache/airflow/pull/12184#discussion_r522167930



##########
File path: airflow/settings.py
##########
@@ -350,6 +377,17 @@ def import_local_settings():
                 if not k.startswith("__"):
                     globals()[k] = v
 
+        # TODO: Remove once deprecated
+        if "policy" in globals():

Review comment:
       Worth supporting people who use 1.10 and 2.0 with the same file?
   
   ```suggestion
           if "policy" in globals() and "task_policy" not in globals():
   ```




----------------------------------------------------------------
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:
[email protected]


Reply via email to