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/10/03 13:14:33 UTC

[GitHub] [airflow] turbaszek commented on a change in pull request #11256: Update SendGridEmail with None return type

turbaszek commented on a change in pull request #11256:
URL: https://github.com/apache/airflow/pull/11256#discussion_r499147008



##########
File path: airflow/upgrade/rules/send_grid_moved.py
##########
@@ -37,4 +37,4 @@ def check(self):
                   + "Please use new module: {}".format(email_provider_path)
             return [msg]
         else:
-            return []
+            return None

Review comment:
       In fact you can just remove this part:
   ```
   else:
      return None
   ```
   




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