Skip to content

Commit

Permalink
Fixed typo introduced in r11952.
Browse files Browse the repository at this point in the history
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12110 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
jezdez committed Jan 6, 2010
1 parent b7e4ae4 commit d7d2bdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/db/transaction.py
Expand Up @@ -329,7 +329,7 @@ def _commit_manually(*args, **kw):

return wraps(func)(_commit_manually)
if func_or_using is None:
func_or_using = DEFALUT_DB_ALIAS
func_or_using = DEFAULT_DB_ALIAS
if callable(func_or_using):
return inner_commit_manually(func_or_using, DEFAULT_DB_ALIAS)
return lambda func: inner_commit_manually(func, func_or_using)

0 comments on commit d7d2bdd

Please sign in to comment.