You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by cr...@apache.org on 2017/04/18 20:53:12 UTC

incubator-airflow git commit: [AIRFLOW-1120] Update version view to include Apache prefix

Repository: incubator-airflow
Updated Branches:
  refs/heads/master bfae4284d -> 6684597d9


[AIRFLOW-1120] Update version view to include Apache prefix

Closes #2244 from criccomini/AIRFLOW-1120


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/6684597d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/6684597d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/6684597d

Branch: refs/heads/master
Commit: 6684597d951cb9f2fea24576a3d19534d67c89ea
Parents: bfae428
Author: Chris Riccomini <cr...@apache.org>
Authored: Tue Apr 18 13:53:03 2017 -0700
Committer: Chris Riccomini <cr...@apache.org>
Committed: Tue Apr 18 13:53:03 2017 -0700

----------------------------------------------------------------------
 airflow/www/views.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/6684597d/airflow/www/views.py
----------------------------------------------------------------------
diff --git a/airflow/www/views.py b/airflow/www/views.py
index 604ae66..b0a952c 100644
--- a/airflow/www/views.py
+++ b/airflow/www/views.py
@@ -2546,7 +2546,7 @@ class VersionView(wwwutils.SuperUserMixin, LoggingMixin, BaseView):
     def version(self):
         # Look at the version from setup.py
         try:
-            airflow_version = pkg_resources.require("airflow")[0].version
+            airflow_version = pkg_resources.require("apache-airflow")[0].version
         except Exception as e:
             airflow_version = None
             self.logger.error(e)