Преглед изворни кода

release v0.4.2

this realse just fixes type errors in the help options
oz123 пре 11 година
родитељ
комит
588ce8b714
3 измењених фајлова са 13 додато и 9 уклоњено
  1. 4 0
      ChangeLog
  2. 1 1
      pwman/__init__.py
  3. 8 8
      scripts/pwman3

+ 4 - 0
ChangeLog

@@ -1,3 +1,7 @@
+2013-09-28 Oz Nahum <nahumoz@gmail.com>
+	* Version 0.4.2 
+	* Fix typos `help` option.
+
 2013-09-25 Oz Nahum <nahumoz@gmail.com>
 	* Version 0.4.1 
 	* Fix broken usability with old database format.

+ 1 - 1
pwman/__init__.py

@@ -20,7 +20,7 @@
 #============================================================================
 
 appname = "Pwman3"
-version = "0.4.1"
+version = "0.4.2"
 website = "http://github.com/pwman3/pwman3"
 author = "Oz Nahum"
 authoremail = "nahumoz@gmail.com"

+ 8 - 8
scripts/pwman3

@@ -27,22 +27,22 @@ _saveconfig = True
 import argparse
 
 
-parser = argparse.ArgumentParser(description='pwman3 - a command line password'
-                                 + ' manager.')
+parser = argparse.ArgumentParser(description=('pwman3 - a command line '
+                                              'password manager.'))
 parser.add_argument('-c', '--config', dest='cfile',
                     default=os.path.expanduser("~/.pwman/config"),
                     help='cofiguration file to read')
 parser.add_argument('-d', '--database', dest='dbase')
 parser.add_argument('-e', '--encryption', dest="algo",
-                    help="Possible options are: AES(default), ARC2, ARC4, "
-                    + "Blowfish, CAST, DES, DES3, IDEA, RC5")
+                    help=("Possible options are: AES(default), ARC2, ARC4, "
+                          "Blowfish, CAST, DES, DES3, IDEA, RC5"))
 parser.add_argument('-k', '--convert', dest='dbconvert',
                     action='store_true', default=False,
                     # os.path.expanduser('~/.pwman/pwman.db'),
-                    help="Convert old DB format to Version >= 0.4."
-                         + "The databse that will be converted is the"
-                         + "one found in the config file, or the one given"
-                         + "as command line argument."
+                    help=("Convert old DB format to version >= 0.4."
+                          " The database that will be converted is the"
+                          " one found in the config file, or the one given"
+                          " as command line argument.")
                     )
 
 parser.add_argument('-t', '--test',  help="Run pwman from current directory \