From: Steven Tobin Date: Mon, 4 Mar 2013 18:11:51 +0000 (+0000) Subject: fixed a couple more pep8 issues X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=f5cdbc26a59f00385ca1d7297616b240700ff450;p=redacted-XKCD-password-generator.git fixed a couple more pep8 issues --- diff --git a/example_import.py b/example_import.py index 28465c6..853b2ac 100644 --- a/example_import.py +++ b/example_import.py @@ -2,7 +2,7 @@ from xkcd_password import generate_wordlist, generate_xkcdpassword # create a wordlist -mywords = generate_wordlist(wordfile='3esl.txt', min_length=5, max_length=8,) +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") diff --git a/xkcd_password.py b/xkcd_password.py index 59acf49..b201734 100755 --- a/xkcd_password.py +++ b/xkcd_password.py @@ -166,7 +166,10 @@ def find_acrostic(acrostic, wordlist): return words -def generate_xkcdpassword(wordlist, n_words=4, interactive=False, acrostic=False): +def generate_xkcdpassword(wordlist, + n_words=4, + interactive=False, + acrostic=False): """ Generate an XKCD-style password from the words in wordlist. """