Commits

Clark C. Evans committed 4aa7fd8

use universal line endings for filedb opener

Comments (0)

Files changed (1)

src/htsql/tweak/filedb/connect.py

                     VALUES (?, ?, ?, ?)
                 """, (table_name,)+meta)
             try:
-                stream = open(source_file)
+                stream = open(source_file, mode="rU")
             except IOError, exc:
                 raise Error("Failed to open file", source_file)
             reader = csv.reader(stream)