From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 83C64C432C2 for ; Tue, 24 Sep 2019 19:46:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5EDE62146E for ; Tue, 24 Sep 2019 19:46:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727322AbfIXTqo (ORCPT ); Tue, 24 Sep 2019 15:46:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48882 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726251AbfIXTqo (ORCPT ); Tue, 24 Sep 2019 15:46:44 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id EB861309BF16 for ; Tue, 24 Sep 2019 19:46:43 +0000 (UTC) Received: from workstation.redhat.com (ovpn-204-49.brq.redhat.com [10.40.204.49]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3227F60852; Tue, 24 Sep 2019 19:46:43 +0000 (UTC) From: Petr Lautrbach To: selinux@vger.kernel.org Cc: Petr Lautrbach Subject: [PATCH] Switch last 2 files using /usr/bin/env to /usr/bin/python3 Date: Tue, 24 Sep 2019 21:46:37 +0200 Message-Id: <20190924194637.248190-1-plautrba@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.45]); Tue, 24 Sep 2019 19:46:43 +0000 (UTC) Sender: selinux-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: selinux@vger.kernel.org Other python scripts already use python3 by default. Both files don't have exec bits so they have to be run using python interpret on command line anyway: $ python3 ./setup.py ... Signed-off-by: Petr Lautrbach --- libsemanage/src/pywrap-test.py | 2 +- python/sepolicy/setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libsemanage/src/pywrap-test.py b/libsemanage/src/pywrap-test.py index 5ac48f40..f266f700 100644 --- a/libsemanage/src/pywrap-test.py +++ b/libsemanage/src/pywrap-test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 from __future__ import print_function import sys diff --git a/python/sepolicy/setup.py b/python/sepolicy/setup.py index 4bd8353d..3633c127 100644 --- a/python/sepolicy/setup.py +++ b/python/sepolicy/setup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # Author: Thomas Liu # Author: Dan Walsh -- 2.23.0