Message ID | 20180804194734.12577-3-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 884C913B4 for <patchwork-selinux@patchwork.kernel.org>; Sat, 4 Aug 2018 19:53:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 802B329AC7 for <patchwork-selinux@patchwork.kernel.org>; Sat, 4 Aug 2018 19:53:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7481729B47; Sat, 4 Aug 2018 19:53:21 +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 ucol19pa12.eemsg.mail.mil (ucol19pa12.eemsg.mail.mil [214.24.24.85]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C94CC29AC7 for <patchwork-selinux@patchwork.kernel.org>; Sat, 4 Aug 2018 19:53:20 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.51,444,1526342400"; d="scan'208";a="612811800" Received: from emsm-gh1-uea10.ncsc.mil ([214.29.60.2]) by ucol19pa12.eemsg.mail.mil with ESMTP; 04 Aug 2018 19:52:56 +0000 X-IronPort-AV: E=Sophos;i="5.51,445,1526342400"; d="scan'208";a="14515361" IronPort-PHdr: 9a23:jnoLZBcU5RP1PIhwtNA9xvwPlGMj4u6mDksu8pMizoh2WeGdxcm+ZxGN2/xhgRfzUJnB7Loc0qyK6/6mATRIyK3CmUhKSIZLWR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-IPAS-Result: A2CAAQB3A2Zb/wHyM5BcHAEBAQQBAQoBAYMkJ2YjShIojAdfo1gUgVoXGAMRh3E0GAECAQEBAQEBAgFsHAyCNSSCXwMDAQI3FCAOAwkBAUAICAMBLRURDgsFGASCfwEogVcDAQGxAIN6ZYVtimE/iG8BEgFshQkCjTCNAwcCgXiDbzOJIIIejA2SXoFBOGFxMxowQ4JpCYtdhG9tegMUFIwPgjoBAQ Received: from tarius.tycho.ncsc.mil (HELO tarius.infosec.tycho.ncsc.mil) ([144.51.242.1]) by EMSM-GH1-UEA10.NCSC.MIL with ESMTP; 04 Aug 2018 19:52:56 +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 w74JqtiN007570; Sat, 4 Aug 2018 15:52:55 -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 w74JmamL034080 for <selinux@prometheus.infosec.tycho.ncsc.mil>; Sat, 4 Aug 2018 15:48:36 -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 w74JmZoO007487 for <selinux@tycho.nsa.gov>; Sat, 4 Aug 2018 15:48:35 -0400 IronPort-PHdr: 9a23:U3yOzxE/p5uedRtRRwlW951GYnJ96bzpIg4Y7IYmgLtSc6Oluo7vJ1Hb+e430AebYL33wKlvs8OO7+btVGkb7tCEuXEGNplNU0xNhcYXmlkmB8iIQQ3+IeXxZiM3VMJFSBd+/n69PEQUUMbzblHfuDuzuDgVHBisfRFtKLHNE5XJx9+yy/j044faNgNJjz25aKg0LRKxth75s5UGx4x4JfV50QPH90NBYP8e3mZ0PRSWlhf46N23+ctYyR8I7q8f5sgVcpmvevgoC7tCA2EgMmsy4MTw8xjEShCUznEbT2MdnwEOBlTVqhbgUcS5qTP049J0wzLSJsjqVfY0VDClur9sUwPtgTwbOiQR9XGOzNR3iLNHrRmhoR1m3oOSZ5uaOQ== X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1D8AAARAmZbly0bGNZcHQEBBQELAYMkJ2Z/KIwHX4tkl3SCBRsRh1AhNBgBAgEBAQEBAQIUAQEBAQEGGAZMhUQGgQlRVxmDIAEogVcDAQGxAoN6ZYVtiQmBWD+Jb4UJApozBwKBeINvM4kggh6MDZJegUGCCjMaMIMsCYtdhG9tehcUjkkBAQ X-IPAS-Result: A1D8AAARAmZbly0bGNZcHQEBBQELAYMkJ2Z/KIwHX4tkl3SCBRsRh1AhNBgBAgEBAQEBAQIUAQEBAQEGGAZMhUQGgQlRVxmDIAEogVcDAQGxAoN6ZYVtiQmBWD+Jb4UJApozBwKBeINvM4kggh6MDZJegUGCCjMaMIMsCYtdhG9tehcUjkkBAQ X-IronPort-AV: E=Sophos;i="5.51,445,1526356800"; d="scan'208";a="339422" Received: from emsm-gh1-uea10.ncsc.mil ([214.29.60.34]) by goalie.tycho.ncsc.mil with ESMTP; 04 Aug 2018 15:48:35 -0400 IronPort-PHdr: 9a23:Rc8iohb6toLh9Wi0RYkQe3D/LSx+4OfEezUN459isYplN5qZoMS5bnLW6fgltlLVR4KTs6sC17KI9fi4EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCa8bL9oMBm6sRjau9ULj4dlNqs/0AbCrGFSe+RRy2NoJFaTkAj568yt4pNt8Dletuw4+cJYXqr0Y6o3TbpDDDQ7KG81/9HktQPCTQSU+HQRVHgdnwdSDAjE6BH6WYrxsjf/u+Fg1iSWIdH6QLYpUjmk8qxlSgLniD0fOjAk8G/ZlMJ+gqFcrh2jqRxy2JLYbJ2POfZiZ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Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0D8AAARAmZbly0bGNZcHQEBBQELAYMkJ2Z/KIwHX4tkl3SCBRsRh1AhNBgBAgEBAQEBAQIBEwEBAQEBBhgGTAyCNSKCYQaBCVFXGYMgASiBVwMBAbECg3plhW2JCYFYP4lvhQkCmjMHAoF4g28ziSCCHowNkl6BQYIKMxowgywJi12Eb216FxSOSQEB X-IPAS-Result: A0D8AAARAmZbly0bGNZcHQEBBQELAYMkJ2Z/KIwHX4tkl3SCBRsRh1AhNBgBAgEBAQEBAQIBEwEBAQEBBhgGTAyCNSKCYQaBCVFXGYMgASiBVwMBAbECg3plhW2JCYFYP4lvhQkCmjMHAoF4g28ziSCCHowNkl6BQYIKMxowgywJi12Eb216FxSOSQEB X-IronPort-AV: E=Sophos;i="5.51,445,1526342400"; d="scan'208";a="14515203" 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; 04 Aug 2018 19:48:33 +0000 X-EEMSG-check-005: 0 X-EEMSG-check-006: 000-001;aa86e753-89c0-4713-b7f3-1be46bb40d7b Authentication-Results: UPDC3CPA04.eemsg.mail.mil; dkim=none (message not signed) header.i=none; spf=Pass smtp.pra=nicolas.iooss@m4x.org; spf=Pass smtp.mailfrom=SRS0=5Vyn=KT=m4x.org=nicolas.iooss@bounces.m4x.org; spf=Pass smtp.helo=postmaster@mx1.polytechnique.org X-EEMSG-check-008: 258392150|UPDC3CPA04_EEMSG_MP20.csd.disa.mil X-EEMSG-SBRS: 3.5 X-EEMSG-ORIG-IP: 129.104.30.34 X-EEMSG-check-002: true IronPort-PHdr: 9a23:2Ot2eBFzpuEU7e3BAkYE0p1GYnF86YWxBRYc798ds5kLTJ78oMWwAkXT6L1XgUPTWs2DsrQY07SQ6/iocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56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K23l0AsCaiTrfSnEt2HsPQy4q0at/p01k11rF1rJ30aVV X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0D+AAARAmZbhyIeaIFcHQEBBQELAYMkgQ1/KIwHX4tkl3SCBRMIEAGHUBoGAQUvGAECAQEBAQEBAQEBEwEBAQgNCQgpIwyCNSKCYQaBCVFXGYMgASiBVwQBsQKDemWFbYkJgVg/iW+FCQKaMwcCgXiDbzOJIIIejA2SXoFBggozGjCDLAmLXYRvbXoVAQEUjkkBAQ X-IPAS-Result: A0D+AAARAmZbhyIeaIFcHQEBBQELAYMkgQ1/KIwHX4tkl3SCBRMIEAGHUBoGAQUvGAECAQEBAQEBAQEBEwEBAQgNCQgpIwyCNSKCYQaBCVFXGYMgASiBVwQBsQKDemWFbYkJgVg/iW+FCQKaMwcCgXiDbzOJIIIejA2SXoFBggozGjCDLAmLXYRvbXoVAQEUjkkBAQ Received: from mx1.polytechnique.org ([129.104.30.34]) by UPDC3CPA04.eemsg.mail.mil with ESMTP/TLS/DHE-RSA-AES256-SHA256; 04 Aug 2018 19:48:32 +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 49B78561220 for <selinux@tycho.nsa.gov>; Sat, 4 Aug 2018 21:48:01 +0200 (CEST) X-EEMSG-check-009: 444-444 From: Nicolas Iooss <nicolas.iooss@m4x.org> To: selinux@tycho.nsa.gov Date: Sat, 4 Aug 2018 21:47:23 +0200 Message-Id: <20180804194734.12577-3-nicolas.iooss@m4x.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180804194734.12577-1-nicolas.iooss@m4x.org> References: <20180804194734.12577-1-nicolas.iooss@m4x.org> X-AV-Checked: ClamAV using ClamSMTP at svoboda.polytechnique.org (Sat Aug 4 21:48:01 2018 +0200 (CEST)) X-Org-Mail: nicolas.iooss.2010@polytechnique.org Subject: [PATCH 02/13] python/sepolgen: do not import twice the modules 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/sepolgen/src/sepolgen/util.py b/python/sepolgen/src/sepolgen/util.py index 1fca9717c05a..5d38bce29827 100644 --- a/python/sepolgen/src/sepolgen/util.py +++ b/python/sepolgen/src/sepolgen/util.py @@ -90,7 +90,6 @@ def first(s, sorted=False): return x def encode_input(text): - import locale """Encode given text via preferred system encoding""" # locale will often find out the correct encoding encoding = locale.getpreferredencoding() @@ -104,7 +103,6 @@ def encode_input(text): return encoded_text def decode_input(text): - import locale """Decode given text via preferred system encoding""" # locale will often find out the correct encoding encoding = locale.getpreferredencoding() @@ -172,11 +170,9 @@ def cmp(first, second): return (first > second) - (second > first) if __name__ == "__main__": - import sys import time p = ConsoleProgressBar(sys.stdout, steps=999) p.start("computing pi") for i in range(999): p.step() time.sleep(0.001) -
util.py starts by importing "locale" and "sys", so there is no need to import these modules again in the functions. Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org> --- python/sepolgen/src/sepolgen/util.py | 4 ---- 1 file changed, 4 deletions(-)