diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2011-09-09 21:45:58 +0000 |
|---|---|---|
| committer | Alex Gaynor <alex.gaynor@gmail.com> | 2011-09-09 21:45:58 +0000 |
| commit | 699688dc2cfad627c5d400c6bdb681c81e932bc0 (patch) | |
| tree | fa13475b89bfdc5775b717acac98c8e9ec683626 /django/utils/http.py | |
| parent | e216c3cb1b3bd78975d155f95df97a6f6a3f2a96 (diff) | |
Switch to using explicit new-style division behavior, rather than relying on teh classic behavior.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16745 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/utils/http.py')
| -rw-r--r-- | django/utils/http.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/http.py b/django/utils/http.py index 4fee731d0a..af44ff498c 100644 --- a/django/utils/http.py +++ b/django/utils/http.py @@ -166,7 +166,7 @@ def int_to_base36(i): # Construct base36 representation while factor >= 0: j = 36 ** factor - base36.append(digits[i / j]) + base36.append(digits[i // j]) i = i % j factor -= 1 return ''.join(base36) |
