summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJim Rollenhagen <jim@jimrollenhagen.com>2015-11-17 09:15:58 -0800
committerJim Rollenhagen <jim@jimrollenhagen.com>2015-11-17 18:06:00 -0800
commit4757e69c13b1399aca96bbda4cf0d585ce334448 (patch)
tree5929cd815b96535b7b875d2b518a24fa4c92fade /tools
parentb66f5e8dd60c023d6d216c3bbc5ec22d837623c3 (diff)
downloadpython-ironicclient-4757e69c13b1399aca96bbda4cf0d585ce334448.tar.gz
Drop explicit Python 2.6 support
Removes py26 env from tox.ini and other 2.6 references. Change-Id: I2060047d3bc29c25c500086ab7d9c0e827486654
Diffstat (limited to 'tools')
-rw-r--r--tools/install_venv_common.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/install_venv_common.py b/tools/install_venv_common.py
index 8f54ce6..b0bada1 100644
--- a/tools/install_venv_common.py
+++ b/tools/install_venv_common.py
@@ -17,7 +17,7 @@
virtual environments.
Since this script is used to bootstrap a virtualenv from the system's Python
-environment, it should be kept strictly compatible with Python 2.6.
+environment, it should be kept strictly compatible with Python 2.7.
Synced in from openstack-common
"""
@@ -47,8 +47,8 @@ class InstallVenv(object):
sys.exit(1)
def check_python_version(self):
- if sys.version_info < (2, 6):
- self.die("Need Python Version >= 2.6")
+ if sys.version_info < (2, 7):
+ self.die("Need Python Version >= 2.7")
def run_command_with_code(self, cmd, redirect_output=True,
check_exit_code=True):