Mercurial > p > roundup > code
diff roundup/admin.py @ 3286:239566bf5d33 maint-0.8
"fix" roundup-admin "import" to not use "universal newline support"...
...since the csv module appears to have its own ideas about such
things [SF#1163890]
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 13 Apr 2005 07:00:21 +0000 |
| parents | db4941bcd0c0 |
| children | 5e45f3a553d8 |
line wrap: on
line diff
--- a/roundup/admin.py Wed Apr 13 06:57:09 2005 +0000 +++ b/roundup/admin.py Wed Apr 13 07:00:21 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.4 2005-04-13 06:57:09 richard Exp $ +# $Id: admin.py,v 1.85.2.5 2005-04-13 07:00:21 richard Exp $ '''Administration commands for maintaining Roundup trackers. ''' @@ -1123,7 +1123,7 @@ cl = self.get_class(classname) # ensure that the properties and the CSV file headings match - f = open(os.path.join(dir, file), 'rU') + f = open(os.path.join(dir, file), 'r') reader = csv.reader(f, colon_separated) file_props = None maxid = 1
