Mercurial > p > roundup > code
diff roundup/admin.py @ 3213:fe8fe2f631a9 maint-0.8
added content to ZRoundup refresh.txt file [SF#1147622]
fix invalid reference to csv.colon_separated
correct URL to What's New in setup.py meta-data
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 28 Feb 2005 03:13:42 +0000 |
| parents | afb69535a3a1 |
| children | db4941bcd0c0 |
line wrap: on
line diff
--- a/roundup/admin.py Fri Feb 25 17:24:53 2005 +0000 +++ b/roundup/admin.py Mon Feb 28 03:13:42 2005 +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.85.2.2 2005-02-16 14:16:51 a1s Exp $ +# $Id: admin.py,v 1.85.2.3 2005-02-28 03:13:42 richard Exp $ '''Administration commands for maintaining Roundup trackers. ''' @@ -1120,7 +1120,7 @@ # ensure that the properties and the CSV file headings match f = open(os.path.join(dir, file), 'rU') - reader = csv.reader(f, csv.colon_separated) + reader = csv.reader(f, colon_separated) file_props = None maxid = 1 # loop through the file and create a node for each entry @@ -1138,7 +1138,7 @@ # import the journals f = open(os.path.join(args[0], classname + '-journals.csv'), 'rU') - reader = csv.reader(f, csv.colon_separated) + reader = csv.reader(f, colon_separated) cl.import_journals(reader) f.close()
