From: Lowe Thiderman Date: Fri, 6 Jun 2014 09:14:35 +0000 (+0200) Subject: Python3 fix for example import X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=205a4db7c9d1c42d66018cbcbf1fd1e869546cb3;p=redacted-XKCD-password-generator.git Python3 fix for example import Because of a print statement in the example, the module will not install cleanly on Python3. Also bamp version. --- diff --git a/setup.py b/setup.py index c742d03..c2069a3 100644 --- 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', diff --git a/xkcdpass/example_import.py b/xkcdpass/example_import.py index 853b2ac..2dd7a25 100644 --- a/xkcdpass/example_import.py +++ b/xkcdpass/example_import.py @@ -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"))