File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 66- popup listing uses filter args (thanks Marlon van den Berg)
77- fixed editing of message contents
88- loosened the detection of issue cross-references in messages
9+ - open CSV files in "universal newline" mode
910
1011
11122004-10-15 0.7.8
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.68.2.4 2004-06-25 22:22:59 richard Exp $
19+ # $Id: admin.py,v 1.68.2.5 2004-10-20 04:50:15 richard Exp $
2020
2121'''Administration commands for maintaining Roundup trackers.
2222'''
@@ -1091,7 +1091,7 @@ class to import.
10911091 cl = self .get_class (classname )
10921092
10931093 # ensure that the properties and the CSV file headings match
1094- f = open (os .path .join (dir , file ))
1094+ f = open (os .path .join (dir , file ), 'rU' )
10951095 reader = rcsv .reader (f , rcsv .colon_separated )
10961096 file_props = None
10971097 maxid = 1
@@ -1109,7 +1109,7 @@ class to import.
11091109 f .close ()
11101110
11111111 # import the journals
1112- f = open (os .path .join (args [0 ], classname + '-journals.csv' ))
1112+ f = open (os .path .join (args [0 ], classname + '-journals.csv' ), 'rU' )
11131113 reader = rcsv .reader (f , rcsv .colon_separated )
11141114 cl .import_journals (reader )
11151115 f .close ()
You can’t perform that action at this time.
0 commit comments