From 0a07704d6dc53bf3a35d4aadfa240586f55e9487 Mon Sep 17 00:00:00 2001 From: LMBishop <13875753+LMBishop@users.noreply.github.com> Date: Thu, 20 Jul 2023 21:19:29 +0100 Subject: Replace python installer --- util/helpers.py | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 util/helpers.py (limited to 'util/helpers.py') diff --git a/util/helpers.py b/util/helpers.py deleted file mode 100644 index 5f970df..0000000 --- a/util/helpers.py +++ /dev/null @@ -1,13 +0,0 @@ -import os - -OS_TYPE = os.getenv("OS_TYPE") - - -# Returns True if all preconditions pass -def check_preconditions(obj): - if "preconditions" in obj: - if ("os" in obj["preconditions"] - and obj["preconditions"]["os"] != OS_TYPE): - return False - - return True -- cgit v1.2.3-70-g09d2