From 5d6feb3a6c900d119732a20145352b2459fafcde Mon Sep 17 00:00:00 2001 From: Chris Evich Date: Wed, 29 Mar 2023 15:34:13 -0400 Subject: [PATCH] Fix several lint findings Signed-off-by: Chris Evich --- udica/__main__.py | 1 - udica/policy.py | 1 - 2 files changed, 2 deletions(-) diff --git a/udica/__main__.py b/udica/__main__.py index 103ddc2..43d2e43 100644 --- a/udica/__main__.py +++ b/udica/__main__.py @@ -140,7 +140,6 @@ def get_args(): def main(): - opts = get_args() if opts["ContainerID"]: diff --git a/udica/policy.py b/udica/policy.py index 9069c97..e32b077 100644 --- a/udica/policy.py +++ b/udica/policy.py @@ -88,7 +88,6 @@ def list_contexts(directory): def list_ports(port_number, port_proto): - handle = semanage.semanage_handle_create() semanage.semanage_connect(handle) -- 2.37.3