Mercurial > p > roundup > code
diff roundup-admin @ 302:d1fb3fcdb11b
Catch errors in login - no username or password supplied.
Fixed editing of password (Password property type) thanks Roch'e Compaan.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Sat, 20 Oct 2001 11:58:48 +0000 |
| parents | 7901b58cfae8 |
| children | e32af1eff4ea |
line wrap: on
line diff
--- a/roundup-admin Thu Oct 18 02:16:42 2001 +0000 +++ b/roundup-admin Sat Oct 20 11:58:48 2001 +0000 @@ -16,7 +16,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: roundup-admin,v 1.34 2001-10-18 02:16:42 richard Exp $ +# $Id: roundup-admin,v 1.35 2001-10-20 11:58:48 richard Exp $ import sys if int(sys.version[0]) < 2: @@ -159,7 +159,7 @@ print 'Back ends:', ', '.join(backends) - def do_init(instance_home, args): + def do_init(self, instance_home, args): '''Usage: init [template [backend [admin password]]] Initialise a new Roundup instance. @@ -671,6 +671,11 @@ # # $Log: not supported by cvs2svn $ +# Revision 1.34 2001/10/18 02:16:42 richard +# Oops, committed the admin script with the wierd #! line. +# Also, made the thing into a class to reduce parameter passing. +# Nuked the leading whitespace from the help __doc__ displays too. +# # Revision 1.33 2001/10/17 23:13:19 richard # Did a fair bit of work on the admin tool. Now has an extra command "table" # which displays node information in a tabular format. Also fixed import and
