From: richard Date: Mon, 14 Jan 2002 06:53:10 +0000 (+0000) Subject: . #503164 ] create and passwords X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fc174172e75e89726e0b756f9279c329c648cd64;p=roundup.git . #503164 ] create and passwords git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@541 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/CHANGES.txt b/CHANGES.txt index 85e33f8..6f8192d 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -19,6 +19,7 @@ Fixed: switching to a ConfigParser setup easier too, I hope. . #502951 ] adding new properties to old database . #502953 ] nosy-like treatment of other multilinks + . #503164 ] create and passwords 2002-01-08 - 0.4.0b1 diff --git a/roundup/admin.py b/roundup/admin.py index d7b702a..34ec404 100644 --- a/roundup/admin.py +++ b/roundup/admin.py @@ -16,7 +16,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: admin.py,v 1.3 2002-01-08 05:26:32 rochecompaan Exp $ +# $Id: admin.py,v 1.4 2002-01-14 06:51:09 richard Exp $ import sys, os, getpass, getopt, re, UserDict, shlex try: @@ -535,18 +535,18 @@ Command help: if isinstance(proptype, hyperdb.Date): try: - props[key] = date.Date(value) + props[propname] = date.Date(value) except ValueError, message: raise UsageError, _('"%(value)s": %(message)s')%locals() elif isinstance(proptype, hyperdb.Interval): try: - props[key] = date.Interval(value) + props[propname] = date.Interval(value) except ValueError, message: raise UsageError, _('"%(value)s": %(message)s')%locals() elif isinstance(proptype, hyperdb.Password): - props[key] = password.Password(value) + props[propname] = password.Password(value) elif isinstance(proptype, hyperdb.Multilink): - props[key] = value.split(',') + props[propname] = value.split(',') # check for the key property propname = cl.getkey() @@ -995,6 +995,9 @@ if __name__ == '__main__': # # $Log: not supported by cvs2svn $ +# Revision 1.3 2002/01/08 05:26:32 rochecompaan +# Missing "self" in props_from_args +# # Revision 1.2 2002/01/07 10:41:44 richard # #500140 ] AdminTool.get_class() returns nothing #