From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id F2A271389E2 for ; Fri, 26 Dec 2014 05:02:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F1AD3E0ACD; Fri, 26 Dec 2014 05:02:16 +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 24BD8E0AD6 for ; Fri, 26 Dec 2014 05:02:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5BF3934029D for ; Fri, 26 Dec 2014 05:02:15 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D026FD638 for ; Fri, 26 Dec 2014 05:02:13 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: <1419570075.1d6676d1e2602a2232a2a996141ec3a6f1133038.dol-sen@gentoo> Subject: [gentoo-commits] proj/gentoo-keys:master commit in: gkeys-gen/gkeygen/ X-VCS-Repository: proj/gentoo-keys X-VCS-Files: gkeys-gen/gkeygen/actions.py X-VCS-Directories: gkeys-gen/gkeygen/ X-VCS-Committer: dol-sen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: 1d6676d1e2602a2232a2a996141ec3a6f1133038 X-VCS-Branch: master Date: Fri, 26 Dec 2014 05:02:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: f093decb-aa9e-459c-ae5f-ce54575a3166 X-Archives-Hash: 68451258eb9e46ee0a1b57c239e5e4e0 commit: 1d6676d1e2602a2232a2a996141ec3a6f1133038 Author: Brian Dolbec gentoo org> AuthorDate: Fri Dec 26 05:01:15 2014 +0000 Commit: Brian Dolbec gmail com> CommitDate: Fri Dec 26 05:01:15 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/gentoo-keys.git;a=commit;h=1d6676d1 gkeygen/actions.py: tweak py3 version check (more readable) --- gkeys-gen/gkeygen/actions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gkeys-gen/gkeygen/actions.py b/gkeys-gen/gkeygen/actions.py index 22b3089..e33ebb8 100644 --- a/gkeys-gen/gkeygen/actions.py +++ b/gkeys-gen/gkeygen/actions.py @@ -15,7 +15,7 @@ import re import shutil import sys -if sys.hexversion >= 0x30200f0: +if sys.version_info[0] >= 3: from urllib.request import urlopen py_input = input _unicode = str