Re: [Numpy-discussion] Small typo in fromregex

2011-02-28 Thread Ralf Gommers
On Mon, Feb 28, 2011 at 11:51 PM, Matthieu Brucher wrote: > Hi, > I'm sorry I didn't file a bug, I have some troubles getting my old trac > account back :| > In lib/npyio.py, there is a mistake line 1029. > Instead on fh.close(), it should have been file.close(). If fromregex opens > the file, it

[Numpy-discussion] Small typo in fromregex

2011-02-28 Thread Matthieu Brucher
Hi, I'm sorry I didn't file a bug, I have some troubles getting my old trac account back :| In lib/npyio.py, there is a mistake line 1029. Instead on fh.close(), it should have been file.close(). If fromregex opens the file, it will crash because the name of the file is not correct. Matthieu --