From: Mladen Uzunov Date: Wed, 1 Jun 2022 09:22:59 +0000 (+0300) Subject: Removing unnecessary code X-Git-Tag: 1.6.1~1^2~13^2~1 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=2a2a4112ed8033cc1c35773b268121306385997f;p=pixelpark%2Fcreate-terraform.git Removing unnecessary code --- diff --git a/bin/vminfo.py b/bin/vminfo.py index 2428921..4730e00 100755 --- a/bin/vminfo.py +++ b/bin/vminfo.py @@ -1,18 +1,5 @@ #!/usr/bin/env python3 import sys - -if sys.version_info[0] != 3: - print("This script is intended to use with Python3.", file=sys.stderr) - print("You are using Python: {0}.{1}.{2}-{3}-{4}.\n".format( - *sys.version_info), file=sys.stderr) - sys.exit(1) - -if sys.version_info[1] < 4: - print("A minimal Python version of 3.4 is necessary to execute this script.", file=sys.stderr) - print("You are using Python: {0}.{1}.{2}-{3}-{4}.\n".format( - *sys.version_info), file=sys.stderr) - sys.exit(1) - import requests from tabulate import tabulate import re