From: Steven Tobin Date: Sun, 6 Mar 2016 15:38:02 +0000 (+0000) Subject: fix some PEP8 issues X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=583f03c8aa40dd786f112b57fe49567c1f1157fa;p=redacted-XKCD-password-generator.git fix some PEP8 issues --- diff --git a/xkcdpass/xkcd_password.py b/xkcdpass/xkcd_password.py index c5b0a66..ed2c956 100755 --- a/xkcdpass/xkcd_password.py +++ b/xkcdpass/xkcd_password.py @@ -196,6 +196,7 @@ def choose_words(wordlist, numwords): s.append(rng().choice(wordlist)) return s + def generate_xkcdpassword(wordlist, numwords=6, interactive=False, @@ -287,8 +288,8 @@ class XkcdPassArgumentParser(argparse.ArgumentParser): "-i", "--interactive", action="store_true", dest="interactive", default=False, help=( - "Generate and output a passphrase, query the user to accept it," - " and loop until one is accepted.")) + "Generate and output a passphrase, query the user to" + " accept it, and loop until one is accepted.")) self.add_argument( "-v", "--valid-chars", dest="valid_chars", default=".", metavar="VALID_CHARS",