1
0
mirror of https://github.com/django/django.git synced 2025-07-04 17:59:13 +00:00

magic-removal: Negligible whitespace fix

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2542 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Luke Plant 2006-03-20 23:05:57 +00:00
parent 7f722a6425
commit 4927c2cf1e

View File

@ -46,8 +46,8 @@ def quote(s):
"""
Ensure that primary key values do not confuse the admin URLs by escaping
any '/', '_' and ':' characters. Similar to urllib.quote, except that the
quoting is slightly different so that it doesn't get autoamtically
unquoted by the web browser.
quoting is slightly different so that it doesn't get autoamtically
unquoted by the web browser.
"""
if type(s) != type(''):
return s