airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jayesh (JIRA)" <>
Subject [jira] [Created] (AIRFLOW-811) Bash_operator dont read multiline output
Date Thu, 26 Jan 2017 23:20:24 GMT
Jayesh created AIRFLOW-811:

             Summary: Bash_operator dont read multiline output
                 Key: AIRFLOW-811
             Project: Apache Airflow
          Issue Type: Bug
            Reporter: Jayesh
            Assignee: Jayesh
            Priority: Minor

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

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

This message was sent by Atlassian JIRA

View raw message