Skip to content

Commit 3cddd8e

Browse files
author
Richard Jones
committed
merge from HEAD
1 parent 64b4068 commit 3cddd8e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Fixed:
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

1112
2004-10-15 0.7.8

roundup/admin.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
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()

0 commit comments

Comments
 (0)