Skip to content

Commit 3128bd9

Browse files
author
Richard Jones
committed
Ran it through pychecker, made fixes
1 parent e1890a2 commit 3128bd9

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

roundup/admin.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1717
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1818
#
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 $
2020

2121
import sys, os, getpass, getopt, re, UserDict, shlex
2222
try:
@@ -71,7 +71,7 @@ def get_class(self, classname):
7171
except KeyError:
7272
raise UsageError, _('no such class "%(classname)s"')%locals()
7373

74-
def props_from_args(self, args, klass=None):
74+
def props_from_args(self, args):
7575
props = {}
7676
for arg in args:
7777
if arg.find('=') == -1:
@@ -1010,6 +1010,7 @@ def main(self):
10101010

10111011
# handle command-line args
10121012
self.instance_home = os.environ.get('ROUNDUP_INSTANCE', '')
1013+
# TODO: reinstate the user/password stuff (-u arg too)
10131014
name = password = ''
10141015
if os.environ.has_key('ROUNDUP_LOGIN'):
10151016
l = os.environ['ROUNDUP_LOGIN'].split(':')
@@ -1042,6 +1043,9 @@ def main(self):
10421043

10431044
#
10441045
# $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+
#
10451049
# Revision 1.6 2002/01/23 07:27:19 grubert
10461050
# . allow abbreviation of "help" in admin tool too.
10471051
#

0 commit comments

Comments
 (0)