Fixed typo introduced in r11952.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12110 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jannis Leidel 2010-01-06 00:55:54 +00:00
parent b7e4ae4996
commit d7d2bdd9e9
1 changed files with 1 additions and 1 deletions

View File

@ -329,7 +329,7 @@ def commit_manually(func_or_using=None):
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)