public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Brian Dolbec" <brian.dolbec@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gentoo-keys:master commit in: gkeys-gen/gkeygen/
Date: Fri, 26 Dec 2014 05:02:13 +0000 (UTC)	[thread overview]
Message-ID: <1419570075.1d6676d1e2602a2232a2a996141ec3a6f1133038.dol-sen@gentoo> (raw)

commit:     1d6676d1e2602a2232a2a996141ec3a6f1133038
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 26 05:01:15 2014 +0000
Commit:     Brian Dolbec <brian.dolbec <AT> gmail <DOT> 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


             reply	other threads:[~2014-12-26  5:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-26  5:02 Brian Dolbec [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-01-01 17:44 [gentoo-commits] proj/gentoo-keys:master commit in: gkeys-gen/gkeygen/ Brian Dolbec
2015-01-06 21:45 Brian Dolbec
2015-01-06 21:45 Brian Dolbec
2015-03-10 22:14 Brian Dolbec
2016-03-01 16:18 Brian Dolbec
2018-07-07  5:23 Brian Dolbec

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1419570075.1d6676d1e2602a2232a2a996141ec3a6f1133038.dol-sen@gentoo \
    --to=brian.dolbec@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox