Python3 fix for example import
authorLowe Thiderman <redacted>
Fri, 6 Jun 2014 09:14:35 +0000 (11:14 +0200)
committerLowe Thiderman <redacted>
Fri, 6 Jun 2014 09:16:57 +0000 (11:16 +0200)
Because of a print statement in the example, the module will not install
cleanly on Python3.

Also bamp version.

setup.py
xkcdpass/example_import.py

index c742d0395e3cfd6702b29ad01ff8e55db5b74bc4..c2069a3cc0e5566a1501ad07c5c1d06dc1cd6d40 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@ from setuptools import setup
 
 setup(
     name='xkcdpass',
-    version='1.0.1',
+    version='1.0.2',
     author='Steven Tobin',
     author_email='steventtobin@gmail.com',
     url='https://github.com/redacted/XKCD-password-generator',
index 853b2ac1b5eaf7b6964b8de98da95541e907ad91..2dd7a25ec4897c4dbf044b0377fc236d73be0098 100644 (file)
@@ -5,4 +5,4 @@ from xkcd_password import generate_wordlist, generate_xkcdpassword
 mywords = generate_wordlist(wordfile='3esl.txt', min_length=5, max_length=8,)
 
 # create a password with the acrostic 'face'
-print generate_xkcdpassword(mywords, acrostic="face")
+print(generate_xkcdpassword(mywords, acrostic="face"))
git clone https://git.99rst.org/PROJECT