Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
PEP8
  • Loading branch information
Tim Hopper committed Aug 6, 2015
1 parent 63dd856 commit 712fe5b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmake/print_cmake_command.py
Expand Up @@ -8,7 +8,7 @@
build_type = sys.argv[1]
if build_type not in ('Debug', 'Release', 'RelWithDebInfo'):
raise ValueError("invalid build type: {}".format(build_type))
## XXX: handle virtualenv
# XXX: handle virtualenv
conda_full_path = check_output("which conda", shell=True).strip()
if 'CONDA_DEFAULT_ENV' in os.environ:
a, b = os.path.split(conda_full_path)
Expand All @@ -25,6 +25,6 @@
assert b == 'bin'
conda_env_path = a
print 'cmake -DCMAKE_BUILD_TYPE={} -DCMAKE_INSTALL_PREFIX={} -DCMAKE_PREFIX_PATH={} ..'.format(
build_type,
conda_env_path,
conda_env_path)
build_type,
conda_env_path,
conda_env_path)

0 comments on commit 712fe5b

Please sign in to comment.