[
https://issues.apache.org/jira/browse/AIRFLOW-6686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17028476#comment-17028476
]
ASF subversion and git services commented on AIRFLOW-6686:
----------------------------------------------------------
Commit d1cedc4f691e683bf1ed54aee3a2c1a54013bbb3 in airflow's branch
refs/heads/master from Oluwafemi Sule
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=d1cedc4 ]
[AIRFLOW-6686] Fix syntax error constructing list of process ids (#7298)
Construction of list of pids passed in kill command raises a Syntax error
because
ordering of the arguments to `map` function doesn't conform to function
parameter definition.
A list comprehension replaces the existing `map` function to make the code
forward compatible with Python 3 and at the same time expand to a list of pids.
> Syntax error constructing list of process ids
> ---------------------------------------------
>
> Key: AIRFLOW-6686
> URL: https://issues.apache.org/jira/browse/AIRFLOW-6686
> Project: Apache Airflow
> Issue Type: Bug
> Components: utils
> Affects Versions: 1.10.7
> Reporter: Oluwafemi Sule
> Assignee: Oluwafemi Sule
> Priority: Major
> Fix For: 1.10.8
>
>
> There is Syntax error constructing list of process ids used in process
> termination command.
> The Syntax error results from wrong ordering of arguments to builtin map
> function.
> [https://github.com/apache/airflow/blob/master/airflow/utils/helpers.py#L214]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)