You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Xiroo (via GitHub)" <gi...@apache.org> on 2023/09/15 00:54:52 UTC

[GitHub] [airflow] Xiroo commented on a diff in pull request #34359: Deprecate numeric type python version in PythonVirtualEnvOperator

Xiroo commented on code in PR #34359:
URL: https://github.com/apache/airflow/pull/34359#discussion_r1326661875


##########
airflow/operators/python.py:
##########
@@ -547,14 +547,20 @@ def __init__(
     ):
         if (
             python_version
-            and str(python_version)[0] != str(sys.version_info.major)
+            and str(python_version[0]) != str(sys.version_info.major)

Review Comment:
   fixed typo. thank you



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

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org