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