Mercurial > p > roundup > code
diff roundup/admin.py @ 1751:ab7760caf6ff
Importing wasn't setting None values explicitly when it should have been
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 26 Aug 2003 00:06:56 +0000 |
| parents | 4856faf558a2 |
| children | fdaa0b751355 |
line wrap: on
line diff
--- a/roundup/admin.py Mon Aug 18 06:31:59 2003 +0000 +++ b/roundup/admin.py Tue Aug 26 00:06:56 2003 +0000 @@ -16,7 +16,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: admin.py,v 1.55 2003-06-23 08:05:30 neaj Exp $ +# $Id: admin.py,v 1.56 2003-08-26 00:06:55 richard Exp $ '''Administration commands for maintaining Roundup trackers. ''' @@ -1144,16 +1144,6 @@ p = csv.parser(field_sep=':') file_props = p.parse(f.readline()) -# XXX we don't _really_ need to do this... -# properties = cl.getprops() -# propnames = properties.keys() -# propnames.sort() -# m = file_props[:] -# m.sort() -# if m != propnames: -# raise UsageError, _('Import file doesn\'t define the same ' -# 'properties as "%(arg0)s".')%{'arg0': args[0]} - # loop through the file and create a node for each entry maxid = 1 while 1:
