Fixed a typo from [6164].

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6167 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick 2007-09-14 05:39:59 +00:00
parent 300e19effc
commit 1b745be5a1
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ class HttpRequest(object):
``request.get_full_path()``.
"""
if not location:
location = request.get_full_path()
location = self.get_full_path()
if not ':' in location:
current_uri = '%s://%s%s' % (self.is_secure() and 'https' or 'http',
get_host(self), self.path)