]> Frank Brehm's Git Trees - pixelpark/create-terraform.git/commitdiff
Removing unnecessary code
authorMladen Uzunov <mladen.uzunov@digitaspixelpark.com>
Wed, 1 Jun 2022 09:22:59 +0000 (12:22 +0300)
committerMladen Uzunov <mladen.uzunov@digitaspixelpark.com>
Wed, 1 Jun 2022 09:22:59 +0000 (12:22 +0300)
bin/vminfo.py

index 24289212a3618f3d1875fcb72d205b90bf8a0f5c..4730e00a9ff6073b8a072c15bcdb9d39574aa69f 100755 (executable)
@@ -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