You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/03/22 11:33:50 UTC

[GitHub] [airflow] turbaszek commented on a change in pull request #7802: Make airflow/providers pylint compatible

turbaszek commented on a change in pull request #7802: Make airflow/providers pylint compatible
URL: https://github.com/apache/airflow/pull/7802#discussion_r396081526
 
 

 ##########
 File path: airflow/providers/apache/druid/hooks/druid.py
 ##########
 @@ -121,7 +127,7 @@ def submit_indexing_job(self, json_index_spec: str):
                 raise AirflowException('Druid indexing job failed, '
                                        'check console for more info')
             else:
-                raise AirflowException('Could not get status of the job, got %s', status)
+                raise AirflowException('Could not get status of the job, got {}'.format(status))
 
 Review comment:
   ```suggestion
                   raise AirflowException(f'Could not get status of the job, got {status}'))
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services