fixed a couple more pep8 issues
authorSteven Tobin <steventtobin (at) gmail.com>
Mon, 4 Mar 2013 18:11:51 +0000 (18:11 +0000)
committerSteven Tobin <steventtobin (at) gmail.com>
Mon, 4 Mar 2013 18:11:51 +0000 (18:11 +0000)
example_import.py
xkcd_password.py

index 28465c615a6a0e8125452fccb848cf0608843c4d..853b2ac1b5eaf7b6964b8de98da95541e907ad91 100644 (file)
@@ -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")
index 59acf49210ab9feaf160144056832cd45d0dea47..b201734e962042b5d83885eb7495b44aefb33773 100755 (executable)
@@ -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.
     """
git clone https://git.99rst.org/PROJECT