Ticket #2729: 2729.diff
File 2729.diff, 556 bytes (added by , 18 years ago) |
---|
-
management.py
347 347 os.path.join(app_dir, "%s.sql" % opts.object_name.lower())] 348 348 for sql_file in sql_files: 349 349 if os.path.exists(sql_file): 350 fp = open(sql_file )350 fp = open(sql_file, 'U') 351 351 for statement in statements.split(fp.read()): 352 352 if statement.strip(): 353 353 output.append(statement + ";")