Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Small fix to comments in utils/ from [17347]

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 20dbbcc2643e4983b3cfc85d1ae074ff4e0a6d27 1 parent 6bbc85c
@adrianholovaty adrianholovaty authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/utils/
4 django/utils/
@@ -102,7 +102,7 @@ def fix_ampersands(value):
fix_ampersands = allow_lazy(fix_ampersands, unicode)
def smart_urlquote(url):
- """Quotes an URL if it isn't already quoted."""
+ "Quotes a URL if it isn't already quoted."
# Handle IDN before quoting.
scheme, netloc, path, query, fragment = urlparse.urlsplit(url)
@@ -112,7 +112,7 @@ def smart_urlquote(url):
url = urlparse.urlunsplit((scheme, netloc, path, query, fragment))
- # An URL is considered unquoted if it contains no % character, or if it
+ # An URL is considered unquoted if it contains no % characters or
# contains a % not followed by two hexadecimal digits. See #9655.
if '%' not in url or
# See
Please sign in to comment.
Something went wrong with that request. Please try again.