You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Xiaodong Deng (Jira)" <ji...@apache.org> on 2019/12/04 05:48:00 UTC

[jira] [Created] (AIRFLOW-6169) Avoid unnecessary int-to-float conversion in utils.dates.scale_time_units

Xiaodong Deng created AIRFLOW-6169:
--------------------------------------

             Summary: Avoid unnecessary int-to-float conversion in utils.dates.scale_time_units
                 Key: AIRFLOW-6169
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6169
             Project: Apache Airflow
          Issue Type: Improvement
          Components: utils
    Affects Versions: 1.10.6
            Reporter: Xiaodong Deng
            Assignee: Xiaodong Deng
             Fix For: 2.0.0


The "x * 0.1" is doing int-to-float type conversion, which is not necessary anymore in Py3 context.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)