git.99rst.org
/
redacted-XKCD-password-generator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
017d2bb
)
Updated Python 3 version check to use sys.version_info
author
Simeon Visser
<redacted>
Sat, 17 Jan 2015 22:12:44 +0000
(22:12 +0000)
committer
Simeon Visser
<redacted>
Sat, 17 Jan 2015 22:12:44 +0000
(22:12 +0000)
xkcdpass/xkcd_password.py
patch
|
blob
|
history
diff --git
a/xkcdpass/xkcd_password.py
b/xkcdpass/xkcd_password.py
index 17f08d940995854ace91307a2b20cab82dc4ffd5..86bcac6c6a57c00d6e5caa3aad9c1ae400d8b1e5 100755
(executable)
--- a/
xkcdpass/xkcd_password.py
+++ b/
xkcdpass/xkcd_password.py
@@
-56,7
+56,7
@@
except AttributeError:
rng = random.Random
# Python 3 compatibility
-if sys.version
[0] == "3"
:
+if sys.version
_info[0] >= 3
:
raw_input = input
git clone https://git.99rst.org/PROJECT