Ticket #11481: loaddata_proper_err_code.diff
File loaddata_proper_err_code.diff, 815 bytes (added by , 15 years ago) |
---|
-
django/core/management/commands/loaddata.py
167 167 self.style.ERROR("Problem installing fixture '%s': %s\n" % 168 168 (full_path, ''.join(traceback.format_exception(sys.exc_type, 169 169 sys.exc_value, sys.exc_traceback))))) 170 return170 sys.exit(1) 171 171 fixture.close() 172 172 173 173 # If the fixture we loaded contains 0 objects, assume that an