Repository: incubator-beam
Updated Branches:
  refs/heads/python-sdk 7e744e445 -> 8a333a661


Fix python bin test.


Project: http://git-wip-us.apache.org/repos/asf/incubator-beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam/commit/4b4ad732
Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam/tree/4b4ad732
Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam/diff/4b4ad732

Branch: refs/heads/python-sdk
Commit: 4b4ad7328b5c9528f2aca2f2b8627ae0793cf1b6
Parents: 7e744e4
Author: Robert Bradshaw <rober...@google.com>
Authored: Mon Sep 26 14:14:03 2016 -0700
Committer: Robert Bradshaw <rober...@google.com>
Committed: Mon Sep 26 14:14:03 2016 -0700

----------------------------------------------------------------------
 sdks/python/apache_beam/utils/dependency.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/4b4ad732/sdks/python/apache_beam/utils/dependency.py
----------------------------------------------------------------------
diff --git a/sdks/python/apache_beam/utils/dependency.py 
b/sdks/python/apache_beam/utils/dependency.py
index 150b2fc..314bd1b 100644
--- a/sdks/python/apache_beam/utils/dependency.py
+++ b/sdks/python/apache_beam/utils/dependency.py
@@ -193,7 +193,7 @@ def _get_python_executable():
   # Allow overriding the python executable to use for downloading and
   # installing dependencies, otherwise use the python executable for
   # the current process.
-  beam_python = os.environ.get('BEAM_PYTHON') or sys.executable
+  python_bin = os.environ.get('BEAM_PYTHON') or sys.executable
   if not python_bin:
     raise ValueError('Could not find Python executable.')
   return python_bin

Reply via email to