Ticket #2729: 2729.diff

File 2729.diff, 556 bytes (added by dev@…, 18 years ago)
  • management.py

     
    347347                 os.path.join(app_dir, "%s.sql" % opts.object_name.lower())]
    348348    for sql_file in sql_files:
    349349        if os.path.exists(sql_file):
    350             fp = open(sql_file)
     350            fp = open(sql_file, 'U')
    351351            for statement in statements.split(fp.read()):
    352352                if statement.strip():
    353353                    output.append(statement + ";")
Back to Top