From 4173585f2246e85904fda08b1e76ce88db04764b Mon Sep 17 00:00:00 2001 From: rperper Date: Wed, 14 Nov 2018 13:48:37 -0500 Subject: [PATCH] Working on removing circular import --- install/firewallUtilities.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install/firewallUtilities.py b/install/firewallUtilities.py index 9aa3e5b27..ace21051e 100644 --- a/install/firewallUtilities.py +++ b/install/firewallUtilities.py @@ -6,7 +6,7 @@ import argparse import os import shlex import socket -import install +import install as inst @@ -41,8 +41,8 @@ class FirewallUtilities: res = subprocess.call(cmd) - if install.preFlightsChecks.resFailed(install.get_distro(), res): - install.preFlightsChecks.stdOut("Failed to install rule: " + command + " Error #" + str(res), 1) + if inst.preFlightsChecks.resFailed(inst.get_distro(), res): + inst.preFlightsChecks.stdOut("Failed to install rule: " + command + " Error #" + str(res), 1) return 0 except OSError, msg: