Message ID | 20180812202522.3743-12-nicolas.iooss@m4x.org (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show
Return-Path: <selinux-bounces@tycho.nsa.gov> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 288DB139A for <patchwork-selinux@patchwork.kernel.org>; Sun, 12 Aug 2018 20:27:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0E6D029292 for <patchwork-selinux@patchwork.kernel.org>; Sun, 12 Aug 2018 20:27:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0115229297; Sun, 12 Aug 2018 20:27:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from USFB19PA14.eemsg.mail.mil (uphb19pa11.eemsg.mail.mil [214.24.26.85]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CC9C429292 for <patchwork-selinux@patchwork.kernel.org>; Sun, 12 Aug 2018 20:27:25 +0000 (UTC) Received: from emsm-gh1-uea11.ncsc.mil ([214.29.60.3]) by USFB19PA14.eemsg.mail.mil with ESMTP/TLS/AES256-SHA; 12 Aug 2018 20:27:23 +0000 X-IronPort-AV: E=Sophos;i="5.53,230,1531785600"; d="scan'208";a="16897329" IronPort-PHdr: 9a23:4IKhuhPA093UZdYICwol6mtUPXoX/o7sNwtQ0KIMzox0L//zrsbcNUDSrc9gkEXOFd2Cra4c1ayO6+jJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ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BwMgjUkgl8DAwECNxQgDgMJAQFACAgDAS0VEQ4LBRgEgn8BKIFYAwEBqiuDem6FZopsP4hvARIBbIUJAo0CPY0fBwKBfYNyM4knjkOTEYFXImFxMxowQ4JpCYtdhG9tegMUFIlngjoBAQ Received: from tarius.tycho.ncsc.mil (HELO tarius.infosec.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea11.NCSC.MIL with ESMTP; 12 Aug 2018 20:27:22 +0000 Received: from prometheus.infosec.tycho.ncsc.mil (prometheus.infosec.tycho.ncsc.mil [192.168.25.40]) by tarius.infosec.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id w7CKQA4n017829; Sun, 12 Aug 2018 16:26:25 -0400 Received: from tarius.infosec.tycho.ncsc.mil (tarius.infosec.tycho.ncsc.mil [144.51.242.1]) by prometheus.infosec.tycho.ncsc.mil (8.15.2/8.15.2) with ESMTP id w7CKQ9Wr024320 for <selinux@prometheus.infosec.tycho.ncsc.mil>; Sun, 12 Aug 2018 16:26:09 -0400 Received: from goalie.tycho.ncsc.mil (goalie.infosec.tycho.ncsc.mil [144.51.242.250]) by tarius.infosec.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id w7CKQ8KJ017820 for <selinux@tycho.nsa.gov>; Sun, 12 Aug 2018 16:26:08 -0400 IronPort-PHdr: 9a23:EmDzKhSMU80CJrZsWn4jRpWY/Npsv++ubAcI9poqja5Pea2//pPkeVbS/uhpkESTAd2J9upOh7OHq6m4BCoN7JOavzYHeZ1IERoEjZZekw8hBZuDDkv2ZL7vYjchFctPHFli4zmgMEdTFcq/L13fq3G/93gTTxP4Mwcmbv/tFNvqht+sn/u354WVex9B0Ty8arR2JQ7wrALWrdI+hNdybKErxUiBuWNGLtxf3nggPlePh1D578a08oRk9nFrgcl5ostPY4+vXP9tSOBISjM8PDUz5cbssRDYCwqI4WAHem8RjxxDDhOD6U3qGJDrvXiyrfJzjRGTJta+VrUoQXKi4qNsHQfvkzsCPiUl/Xv/j9wpyrpcpAO9qhd/xY/NfYzTM+Bxcw== X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1BkAwCplnBbly0bGNZbHgEGDIMkJ2Z/KIxWi1maHBsRh2ohNxUBAgEBAQEBAQIUAQEBAQEGGAZMhUQGgQlRVxmDIAEogVgDAQGqKYN6boVmiRSBWD+Jb4UJAo0CjVwHAoF9g3IziSeOQ5MRgVeBdDMaMIMsCYJEiRmEb216FxSMIQEB X-IPAS-Result: A1BkAwCplnBbly0bGNZbHgEGDIMkJ2Z/KIxWi1maHBsRh2ohNxUBAgEBAQEBAQIUAQEBAQEGGAZMhUQGgQlRVxmDIAEogVgDAQGqKYN6boVmiRSBWD+Jb4UJAo0CjVwHAoF9g3IziSeOQ5MRgVeBdDMaMIMsCYJEiRmEb216FxSMIQEB X-IronPort-AV: E=Sophos;i="5.53,230,1531800000"; d="scan'208";a="344579" Received: from emsm-gh1-uea10.ncsc.mil ([214.29.60.34]) by goalie.tycho.ncsc.mil with ESMTP; 12 Aug 2018 16:26:08 -0400 IronPort-PHdr: 9a23:T1v9/xCOD2Y0oTWG893NUyQJP3N1i/DPJgcQr6AfoPdwSPvzpMbcNUDSrc9gkEXOFd2Cra4c1ayO6+jJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fcbglUhTexe69+IAmrpgjNq8cahpdvJLwswRXTuHtIfOpWxWJsJV2Nmhv3+9m98p1+/SlOovwt78FPX7n0cKQ+VrxYES8pM3sp683xtBnMVhWA630BWWgLiBVIAgzF7BbnXpfttybxq+Rw1DWGMcDwULs5Xymp4aV2Rx/ykCoJKj43/n/ZhMJzi6xUohyhqgdjz4LIeoyZKOBzcr/Bcd4cWGFPXtxRVytEAo6kd4UPDvYOPeFcr4bnvFsFsBiwBQ6rBOP00T9Dm3j73as70+s9FgHG2BYvH8kUvHTVq9X1M7wSUfuuwanNwjj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NSKCYQaBCVFXGYMgASiBWAMBAaovg3puhWaJFIFYP4lvhQkCjQKNXAcCgX2DcjOJJ45DkxGBV4F0MxowgywJgkSJGYRvbXoXFIwhAQE X-IPAS-Result: A0BmAwAil3Bbly0bGNZbHgEGDIMkJ2Z/KIxWi1maHBsRh2ohNxUBAgEBAQEBAQIBEwEBAQEBBhgGTAyCNSKCYQaBCVFXGYMgASiBWAMBAaovg3puhWaJFIFYP4lvhQkCjQKNXAcCgX2DcjOJJ45DkxGBV4F0MxowgywJgkSJGYRvbXoXFIwhAQE X-IronPort-AV: E=Sophos;i="5.53,230,1531785600"; d="scan'208";a="14747351" X-IronPort-Outbreak-Status: No, level 0, Unknown - Unknown Received: from updc3cpa06.eemsg.mail.mil ([214.24.27.45]) by EMSM-GH1-UEA10.NCSC.MIL with ESMTP; 12 Aug 2018 20:26:07 +0000 X-EEMSG-check-005: 0 X-EEMSG-check-006: 000-001;af7a19dd-6360-4efc-a7ae-31ecc17725f0 Authentication-Results: upbd19pa05.eemsg.mail.mil; dkim=none (message not signed) header.i=none; spf=Pass smtp.pra=nicolas.iooss@m4x.org; spf=Pass smtp.mailfrom=SRS0=mgZB=K3=m4x.org=nicolas.iooss@bounces.m4x.org; spf=Pass smtp.helo=postmaster@mx1.polytechnique.org X-EEMSG-check-008: 315025522|UPBD19PA05_EEMSG_MP5.csd.disa.mil X-EEMSG-SBRS: 3.5 X-EEMSG-ORIG-IP: 129.104.30.34 X-EEMSG-check-002: true IronPort-PHdr: 9a23:Vk4cixAc3ue2cRWJiW5rUyQJP3N1i/DPJgcQr6AfoPdwSPv8rsbcNUDSrc9gkEXOFd2Cra4c1ayO6+jJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fcbglUhTexe69+IAmrpgjNq8cahpdvJLwswRXTuHtIfOpWxWJsJV2Nmhv3+9m98p1+/SlOovwt78FPX7n0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AGHahoGAQUyFQECAQEBAQEBAQEBEwEBAQoLCQgpIwyCNSKCYQaBCVFXGYMgASiBWAQBqimDem6FZokUgVg/iW+FCQKNAo1cBwKBfYNyM4knjkOTEYFXgXQzGjCDLAmLXYRvbXoVAQEUjCEBAQ X-IPAS-Result: A0AqAwBblnBbhyIeaIFbHQEBBQELAYMkgQ1/KIxWi1maHBMIEAGHahoGAQUyFQECAQEBAQEBAQEBEwEBAQoLCQgpIwyCNSKCYQaBCVFXGYMgASiBWAQBqimDem6FZokUgVg/iW+FCQKNAo1cBwKBfYNyM4knjkOTEYFXgXQzGjCDLAmLXYRvbXoVAQEUjCEBAQ Received: from mx1.polytechnique.org ([129.104.30.34]) by upbd19pa05.eemsg.mail.mil with ESMTP/TLS/DHE-RSA-AES256-SHA256; 12 Aug 2018 20:26:05 +0000 Received: from localhost.localdomain (89-156-252-9.rev.numericable.fr [89.156.252.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ssl.polytechnique.org (Postfix) with ESMTPSA id EC860564728 for <selinux@tycho.nsa.gov>; Sun, 12 Aug 2018 22:26:04 +0200 (CEST) X-EEMSG-check-009: 444-444 From: Nicolas Iooss <nicolas.iooss@m4x.org> To: selinux@tycho.nsa.gov Date: Sun, 12 Aug 2018 22:25:20 +0200 Message-Id: <20180812202522.3743-12-nicolas.iooss@m4x.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180812202522.3743-1-nicolas.iooss@m4x.org> References: <20180812202522.3743-1-nicolas.iooss@m4x.org> X-AV-Checked: ClamAV using ClamSMTP at svoboda.polytechnique.org (Sun Aug 12 22:26:05 2018 +0200 (CEST)) X-Org-Mail: nicolas.iooss.2010@polytechnique.org Subject: [PATCH v2 11/13] python/sepolicy: use variables which exist in the gui.py X-BeenThere: selinux@tycho.nsa.gov X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" <selinux.tycho.nsa.gov> List-Post: <mailto:selinux@tycho.nsa.gov> List-Help: <mailto:selinux-request@tycho.nsa.gov?subject=help> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" <selinux-bounces@tycho.nsa.gov> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
Fix some issues found by flake8
|
expand
|
diff --git a/python/sepolicy/sepolicy/gui.py b/python/sepolicy/sepolicy/gui.py index 6933f6a142ed..9d413652f2ed 100644 --- a/python/sepolicy/sepolicy/gui.py +++ b/python/sepolicy/sepolicy/gui.py @@ -2015,9 +2015,9 @@ class SELinuxGui(): if self.modify: iter = self.get_selected_iter() oldpath = self.unmark(self.liststore.get_value(iter, 0)) - setype = self.unmark(self.liststore.set_value(iter, 1)) + oldsetype = self.unmark(self.liststore.set_value(iter, 1)) oldtclass = self.liststore.get_value(iter, 2) - self.cur_dict["fcontext"][(path, tclass)] = {"action": "-m", "type": setype, "oldtype": oldsetype, "oldmls": oldmls, "oldclass": oldclass} + self.cur_dict["fcontext"][(path, tclass)] = {"action": "-m", "type": setype, "oldtype": oldsetype, "oldpath": oldpath, "oldclass": oldtclass} else: iter = self.liststore.append(None) self.cur_dict["fcontext"][(path, tclass)] = {"action": "-a", "type": setype} @@ -2047,7 +2047,7 @@ class SELinuxGui(): oldports = self.unmark(self.liststore.get_value(iter, 0)) oldprotocol = self.unmark(self.liststore.get_value(iter, 1)) oldsetype = self.unmark(self.liststore.set_value(iter, 2)) - self.cur_dict["port"][(ports, protocol)] = {"action": "-m", "type": setype, "mls": mls, "oldtype": oldsetype, "oldmls": oldmls, "oldprotocol": oldprotocol, "oldports": oldports} + self.cur_dict["port"][(ports, protocol)] = {"action": "-m", "type": setype, "mls": mls, "oldtype": oldsetype, "oldprotocol": oldprotocol, "oldports": oldports} else: iter = self.liststore.append(None) self.cur_dict["port"][(ports, protocol)] = {"action": "-a", "type": setype, "mls": mls}
Some function used variables which were not defined when populating self.cur_dict with an operation. Fix this, even though the old values do not seem to be used. This issue has been found using flake8. This Python linter reported: python/sepolicy/sepolicy/gui.py:2020:101: F821 undefined name 'oldsetype' python/sepolicy/sepolicy/gui.py:2020:122: F821 undefined name 'oldmls' python/sepolicy/sepolicy/gui.py:2020:142: F821 undefined name 'oldclass' python/sepolicy/sepolicy/gui.py:2050:133: F821 undefined name 'oldmls' Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org> --- python/sepolicy/sepolicy/gui.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)