File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1616# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1717# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1818#
19- # $Id: admin.py,v 1.46 2003-03-23 06:07:05 richard Exp $
19+ # $Id: admin.py,v 1.47 2003-03-23 09:37:20 richard Exp $
2020
2121'''Administration commands for maintaining Roundup trackers.
2222'''
@@ -801,18 +801,18 @@ def do_table(self, args):
801801 for spec in prop_names :
802802 if ':' in spec :
803803 name , width = spec .split (':' )
804- if width == '' :
804+ if width == '' :
805805 props .append ((name , len (spec )))
806- else :
806+ else :
807807 props .append ((name , int (width )))
808808 else :
809809 # this is going to be slow
810810 maxlen = len (spec )
811811 for nodeid in cl .list ():
812- curlen = len (str (cl .get (nodeid , spec )))
812+ curlen = len (str (cl .get (nodeid , spec )))
813813 if curlen > maxlen :
814814 maxlen = curlen
815- props .append ((spec , maxlen ))
815+ props .append ((spec , maxlen ))
816816
817817 # now display the heading
818818 print ' ' .join ([name .capitalize ().ljust (width ) for name ,width in props ])
You can’t perform that action at this time.
0 commit comments