Better internal method name

This commit is contained in:
Armin Ronacher 2011-08-05 21:54:12 +02:00
parent f3db68c8ce
commit ac99cd33a8
2 changed files with 3 additions and 3 deletions

View file

@ -12,7 +12,7 @@
from werkzeug.wrappers import Request as RequestBase, Response as ResponseBase
from werkzeug.utils import cached_property
from .debughelpers import make_enctype_error_multidict
from .debughelpers import attach_enctype_error_multidict
from .helpers import json, _assert_have_json
from .globals import _request_ctx_stack
@ -108,7 +108,7 @@ class Request(RequestBase):
ctx = _request_ctx_stack.top
if ctx is not None and ctx.app.debug and \
self.mimetype != 'multipart/form-data' and not self.files:
make_enctype_error_multidict(self)
attach_enctype_error_multidict(self)
class Response(ResponseBase):