From adcced2c1a2ccd8d46f779d965c1418278c4d043 Mon Sep 17 00:00:00 2001 From: Jonathan Branan Date: Fri, 16 Aug 2024 11:08:11 -0500 Subject: [PATCH] Updated errors --- config.toml.example | 3 +-- inex.py | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/config.toml.example b/config.toml.example index ab505a0..eb131bc 100644 --- a/config.toml.example +++ b/config.toml.example @@ -53,5 +53,4 @@ secret = "" prd_instance_id = 1 product_guid = "asdf" product_name = "EFT" -product_version ="8.1.0.9" -prd_ext_tenant_id = "e71851c2-593f-4f49-9c07-91727b1be94b" \ No newline at end of file +product_version ="8.1.0.9" \ No newline at end of file diff --git a/inex.py b/inex.py index abf1a5e..2c69a07 100644 --- a/inex.py +++ b/inex.py @@ -44,7 +44,6 @@ class Inex: self.logPath = self.config["logging"]["logPath"] self.logLevel = self.config["logging"]["logLevel"] self.prdInstanceID = self.config["immutables"]["prd_instance_id"] - self.prd_ext_tenant_id = self.config["immutables"]["prd_ext_tenant_id"] self.productGUID = self.config["immutables"]["product_guid"] self.productName = self.config["immutables"]["product_name"] self.productVersion = self.config["immutables"]["product_version"] @@ -55,7 +54,7 @@ class Inex: self.queryOverride = self.config["database"]["overrideEmbeddedquery"] self.queryDaystopull = self.config["database"]["daysTopull"] except: - print("No config.toml. Please use example file and configure appropriately") + print("No config.toml or possibly missing settings in the file. Please use example file and configure appropriately") exit(1) if "dev" in self.selectedPlatform.lower(): @@ -76,7 +75,7 @@ class Inex: self.modifiedData = processData(self.data, dataTemplate, prd_instance_id=self.prdInstanceID,\ product_guid=self.productGUID,product_name=self.productName,\ - product_version=self.productVersion,prd_ext_tenant_id=self.prd_ext_tenant_id) + product_version=self.productVersion) if self.pushToplatform: inexConnect.fortraEFC.__init__(self)