aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2014-12-25 21:01:15 -0800
committerBrian Dolbec <dolsen@gentoo.org>2014-12-25 21:01:15 -0800
commit1d6676d1e2602a2232a2a996141ec3a6f1133038 (patch)
treedbab3e7b4ec1c5166c64d7716c33cba37bf9ecd3 /gkeys-gen
parentgkeys/base.py: Tweak -k, --keyring help message (diff)
downloadgentoo-keys-1d6676d1e2602a2232a2a996141ec3a6f1133038.tar.gz
gentoo-keys-1d6676d1e2602a2232a2a996141ec3a6f1133038.tar.bz2
gentoo-keys-1d6676d1e2602a2232a2a996141ec3a6f1133038.zip
gkeygen/actions.py: tweak py3 version check (more readable)
Diffstat (limited to 'gkeys-gen')
-rw-r--r--gkeys-gen/gkeygen/actions.py2
1 files changed, 1 insertions, 1 deletions
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