[ 
https://issues.apache.org/jira/browse/AIRFLOW-2097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tao Feng reassigned AIRFLOW-2097:
---------------------------------

    Assignee: Tao Feng

> UnboundLocalError: local variable 'tz' referenced before assignment
> -------------------------------------------------------------------
>
>                 Key: AIRFLOW-2097
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2097
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: utils
>            Reporter: Bryce Drennnan
>            Assignee: Tao Feng
>            Priority: Minor
>
> The date_range function references the variable tz before its assigned.  I 
> noticed this while running doctests.
> See this part of the code:
> [https://github.com/apache/incubator-airflow/blob/15b8a36b9011166b06f176f684b71703a4aebddd/airflow/utils/dates.py#L73-L84]
> I believe this bug was introduced here:
> https://github.com/apache/incubator-airflow/commit/518a41acf319af27d49bdc0c84bda64b6b8af0b3#commitcomment-27433613



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to