diff options
author | Zuul <zuul@review.opendev.org> | 2022-08-08 19:54:50 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2022-08-08 19:54:50 +0000 |
commit | 18ec45ed40c54f2df79754c1c038d1b8755af8a5 (patch) | |
tree | 21dbfd7d3903aeb34fd1a8ee734812095cd0bd10 | |
parent | 489bb43058d446a577377cff5828e98d13c79967 (diff) | |
parent | ef4fc3e55871b0ccebfd489236ba87f280c315f7 (diff) | |
download | python-ironicclient-18ec45ed40c54f2df79754c1c038d1b8755af8a5.tar.gz |
Merge "Remove unused check_python_version"5.0.1
-rw-r--r-- | tools/install_venv_common.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tools/install_venv_common.py b/tools/install_venv_common.py index 5fd4aa0..21238e9 100644 --- a/tools/install_venv_common.py +++ b/tools/install_venv_common.py @@ -16,16 +16,12 @@ """Provides methods needed by installation script for OpenStack development 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 3.6. - Synced in from openstack-common """ import optparse import os import subprocess -import sys class InstallVenv(object): @@ -44,10 +40,6 @@ class InstallVenv(object): print(message % args, file=sys.stderr) sys.exit(1) - def check_python_version(self): - if sys.version_info < (3, 6): - self.die("Need Python Version >= 3.6") - def run_command_with_code(self, cmd, redirect_output=True, check_exit_code=True): """Runs a command in an out-of-process shell. |