From edddc61fb5260b61a51e282b5ddfb3bab63a0983 Mon Sep 17 00:00:00 2001 From: Jeff Forcier Date: Wed, 4 Jul 2012 20:43:49 -0700 Subject: [PATCH] Fix trailing whitespace re #28 --- demos/demo_keygen.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/demos/demo_keygen.py b/demos/demo_keygen.py index 9a95aa4..b4ce5b8 100755 --- a/demos/demo_keygen.py +++ b/demos/demo_keygen.py @@ -65,8 +65,8 @@ if __name__ == '__main__': pfunc=None parser = OptionParser(usage=usage) - parser.add_option("-t", "--type", type="string", dest="ktype", - help="Specify type of key to create (dsa or rsa)", + parser.add_option("-t", "--type", type="string", dest="ktype", + help="Specify type of key to create (dsa or rsa)", metavar="ktype", default=default_values["ktype"]) parser.add_option("-b", "--bits", type="int", dest="bits", help="Number of bits in the key to create", metavar="bits", @@ -94,7 +94,7 @@ if __name__ == '__main__': for o in default_values.keys(): globals()[o] = getattr(options, o, default_values[string.lower(o)]) - + if options.newphrase: phrase = getattr(options, 'newphrase')