Project

General

Profile

« Previous | Next » 

Revision 1958

csvs.py: reader_and_header(): Use make_reader()

View differences:

csvs.py
72 72
    '''Automatically detects the dialect based on the header line
73 73
    @return tuple (reader, header)'''
74 74
    info = stream_info(stream, parse_header=True)
75
    return (reader_class(info.dialect)(stream, info.dialect), info.header)
75
    return (make_reader(stream, info.dialect), info.header)
76 76

  
77 77
##### csv modifications
78 78

  

Also available in: Unified diff