You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Jayesh (JIRA)" <ji...@apache.org> on 2017/01/26 23:20:24 UTC

[jira] [Created] (AIRFLOW-811) Bash_operator dont read multiline output

Jayesh created AIRFLOW-811:
------------------------------

             Summary: Bash_operator dont read multiline output
                 Key: AIRFLOW-811
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-811
             Project: Apache Airflow
          Issue Type: Bug
            Reporter: Jayesh
            Assignee: Jayesh
            Priority: Minor


following piece of code is the root cause of it.  
{code}
line = ''
                for line in iter(sp.stdout.readline, b''):
                    line = line.decode(self.output_encoding).strip()
                    logging.info(line)
{code}

I plan to fix it using string buffer instead of just 1 line string variable here.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)