Skip to content

Commit 4bede45

Browse files
committed
Remove some code in loaddata that bails out of searching for fixture files (only when verbosity > 1) as soon as attempting to open any potential fixture file fails. This code looks to have been mistakenly added in r9527; loaddata ought to proceed with attempting to locate other fixture files, regardless of verbosity setting, as it did before r9527.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9646 bcc190cf-cafb-0310-a4f2-bffc1f526a37
1 parent 5257fd2 commit 4bede45

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

django/core/management/commands/loaddata.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,6 @@ def read(self):
184184
if verbosity > 1:
185185
print "No %s fixture '%s' in %s." % \
186186
(format, fixture_name, humanize(fixture_dir))
187-
print e
188-
transaction.rollback()
189-
transaction.leave_transaction_management()
190-
return
191187

192188
# If we found even one object in a fixture, we need to reset the
193189
# database sequences.

0 commit comments

Comments
 (0)