kaxil commented on a change in pull request #7572: [AIRFLOW-6948] Remove ASCII
Airflow from version command
URL: https://github.com/apache/airflow/pull/7572#discussion_r385258385
##########
File path: airflow/cli/commands/version_command.py
##########
@@ -16,9 +16,8 @@
# under the License.
"""Version command"""
import airflow
-from airflow import settings
def version(args):
"""Displays Airflow version at the command line"""
- print(settings.HEADER + " v" + airflow.__version__)
+ print(f"v{airflow.__version__}")
Review comment:
```suggestion
print(f"{airflow.__version__}")
```
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services