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/05/19 17:16:01 UTC

[GitHub] [airflow] kaxil commented on a change in pull request #8904: Move k8s files out of contrib

kaxil commented on a change in pull request #8904:
URL: https://github.com/apache/airflow/pull/8904#discussion_r427466843



##########
File path: airflow/contrib/operators/file_to_wasb.py
##########
@@ -57,8 +57,8 @@ def execute(self, context):
         """Upload a file to Azure Blob Storage."""
         hook = WasbHook(wasb_conn_id=self.wasb_conn_id)
         self.log.info(
-            'Uploading %s to wasb://%s '
-            'as %s'.format(self.file_path, self.container_name, self.blob_name)
+            'Uploading {} to wasb://{} '
+            'as {}'.format(self.file_path, self.container_name, self.blob_name)

Review comment:
       Was this changes because of a flake8 error ? We use `%s` format for logs so that the arguments are passed properly when logging levels are changed 




----------------------------------------------------------------
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