|
16 | 16 | # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
17 | 17 | # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
18 | 18 | # |
19 | | -# $Id: admin.py,v 1.7 2002-02-20 05:04:32 richard Exp $ |
| 19 | +# $Id: admin.py,v 1.8 2002-02-27 03:28:21 richard Exp $ |
20 | 20 |
|
21 | 21 | import sys, os, getpass, getopt, re, UserDict, shlex |
22 | 22 | try: |
@@ -71,7 +71,7 @@ def get_class(self, classname): |
71 | 71 | except KeyError: |
72 | 72 | raise UsageError, _('no such class "%(classname)s"')%locals() |
73 | 73 |
|
74 | | - def props_from_args(self, args, klass=None): |
| 74 | + def props_from_args(self, args): |
75 | 75 | props = {} |
76 | 76 | for arg in args: |
77 | 77 | if arg.find('=') == -1: |
@@ -1010,6 +1010,7 @@ def main(self): |
1010 | 1010 |
|
1011 | 1011 | # handle command-line args |
1012 | 1012 | self.instance_home = os.environ.get('ROUNDUP_INSTANCE', '') |
| 1013 | + # TODO: reinstate the user/password stuff (-u arg too) |
1013 | 1014 | name = password = '' |
1014 | 1015 | if os.environ.has_key('ROUNDUP_LOGIN'): |
1015 | 1016 | l = os.environ['ROUNDUP_LOGIN'].split(':') |
@@ -1042,6 +1043,9 @@ def main(self): |
1042 | 1043 |
|
1043 | 1044 | # |
1044 | 1045 | # $Log: not supported by cvs2svn $ |
| 1046 | +# Revision 1.7 2002/02/20 05:04:32 richard |
| 1047 | +# Wasn't handling the cvs parser feeding properly. |
| 1048 | +# |
1045 | 1049 | # Revision 1.6 2002/01/23 07:27:19 grubert |
1046 | 1050 | # . allow abbreviation of "help" in admin tool too. |
1047 | 1051 | # |
|
0 commit comments