You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by as...@apache.org on 2020/06/15 11:55:31 UTC

[airflow] 02/03: Remove unused airflow import from docs (#9274)

This is an automated email from the ASF dual-hosted git repository.

ash pushed a commit to branch v1-10-stable
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 412c153a42b27c8a019543fb261a97093485a57b
Author: Do Son Tung <do...@gmail.com>
AuthorDate: Sun Jun 14 07:21:37 2020 +0700

    Remove unused airflow import from docs (#9274)
    
    The bash code block which demonstrates the creating user import airflow but unused it. So that line is redundant
---
 docs/security.rst | 1 -
 1 file changed, 1 deletion(-)

diff --git a/docs/security.rst b/docs/security.rst
index c653e55..e6bced8 100644
--- a/docs/security.rst
+++ b/docs/security.rst
@@ -68,7 +68,6 @@ attack. Creating a new user has to be done via a Python REPL on the same machine
     $ python
     Python 2.7.9 (default, Feb 10 2015, 03:28:08)
     Type "help", "copyright", "credits" or "license" for more information.
-    >>> import airflow
     >>> from airflow import models, settings
     >>> from airflow.contrib.auth.backends.password_auth import PasswordUser
     >>> user = PasswordUser(models.User())