Ticket #2034: django.core.management.diff
File django.core.management.diff, 527 bytes (added by , 18 years ago) |
---|
-
django/core/management.py
=== django/core/management.py ==================================================================
344 344 for sql_file in sql_files: 345 345 if os.path.exists(sql_file): 346 346 fp = open(sql_file) 347 output.extend(sql_expr.findall(fp.read())) 347 output.extend([ expr for expr in sql_expr.findall(fp.read()) 348 if expr.strip() ]) 348 349 fp.close() 349 350 350 351 return output