From 2a2a4112ed8033cc1c35773b268121306385997f Mon Sep 17 00:00:00 2001 From: Mladen Uzunov Date: Wed, 1 Jun 2022 12:22:59 +0300 Subject: [PATCH] Removing unnecessary code --- bin/vminfo.py | 13 ------------- 1 file changed, 13 deletions(-) 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 -- 2.39.5