# HG changeset patch # User Richard Jones # Date 1098247815 0 # Node ID b602054c97d3b1e6a4ff545bfe7f188a49ace4f1 # Parent 65337f817b5016941fcc151cd41df8501f58ab31 merge from HEAD diff -r 65337f817b50 -r b602054c97d3 CHANGES.txt --- a/CHANGES.txt Tue Oct 19 22:34:26 2004 +0000 +++ b/CHANGES.txt Wed Oct 20 04:50:15 2004 +0000 @@ -6,6 +6,7 @@ - popup listing uses filter args (thanks Marlon van den Berg) - fixed editing of message contents - loosened the detection of issue cross-references in messages +- open CSV files in "universal newline" mode 2004-10-15 0.7.8 diff -r 65337f817b50 -r b602054c97d3 roundup/admin.py --- a/roundup/admin.py Tue Oct 19 22:34:26 2004 +0000 +++ b/roundup/admin.py Wed Oct 20 04:50:15 2004 +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.68.2.4 2004-06-25 22:22:59 richard Exp $ +# $Id: admin.py,v 1.68.2.5 2004-10-20 04:50:15 richard Exp $ '''Administration commands for maintaining Roundup trackers. ''' @@ -1091,7 +1091,7 @@ cl = self.get_class(classname) # ensure that the properties and the CSV file headings match - f = open(os.path.join(dir, file)) + f = open(os.path.join(dir, file), 'rU') reader = rcsv.reader(f, rcsv.colon_separated) file_props = None maxid = 1 @@ -1109,7 +1109,7 @@ f.close() # import the journals - f = open(os.path.join(args[0], classname + '-journals.csv')) + f = open(os.path.join(args[0], classname + '-journals.csv'), 'rU') reader = rcsv.reader(f, rcsv.colon_separated) cl.import_journals(reader) f.close()