From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-697152-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (unknown [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id AE7D71381FA for <garchives@archives.gentoo.org>; Fri, 16 May 2014 18:43:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E4389E0AD5; Fri, 16 May 2014 18:43:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 574BAE0ACB for <gentoo-commits@lists.gentoo.org>; Fri, 16 May 2014 18:43:52 +0000 (UTC) Received: from spoonbill.gentoo.org (unknown [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7C4413400DB for <gentoo-commits@lists.gentoo.org>; Fri, 16 May 2014 18:43:51 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 193851818D for <gentoo-commits@lists.gentoo.org>; Fri, 16 May 2014 18:43:50 +0000 (UTC) From: "Sven Vermeulen" <swift@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Vermeulen" <swift@gentoo.org> Message-ID: <1400265771.73d7fb2e565bba1c32e7c4a9bb2e7eb18e3022e1.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: support/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: support/policyvers.py X-VCS-Directories: support/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 73d7fb2e565bba1c32e7c4a9bb2e7eb18e3022e1 X-VCS-Branch: master Date: Fri, 16 May 2014 18:43:50 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e2061535-d387-4b05-8450-1b56388a9086 X-Archives-Hash: f9abef7e470779609a431f0ba11084b7 commit: 73d7fb2e565bba1c32e7c4a9bb2e7eb18e3022e1 Author: Nicolas Iooss <nicolas.iooss <AT> m4x <DOT> org> AuthorDate: Sat May 10 14:44:02 2014 +0000 Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org> CommitDate: Fri May 16 18:42:51 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=73d7fb2e Make support/policyvers.py compatible with Python 3 Add parenthesis around print statement, like in other Python scripts. --- support/policyvers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/policyvers.py b/support/policyvers.py index 0d969a4..a367ef1 100644 --- a/support/policyvers.py +++ b/support/policyvers.py @@ -1,4 +1,4 @@ #!/usr/bin/python import selinux if selinux.is_selinux_enabled(): - print selinux.security_policyvers() + print(selinux.security_policyvers())