Merge "Remove unused check_python_version"

changes/77/854477/1 5.0.1
Zuul 2022-08-08 19:54:50 +00:00 committed by Gerrit Code Review
commit 18ec45ed40
1 changed files with 0 additions and 8 deletions

View File

@ -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)
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,
"""Runs a command in an out-of-process shell.