diff options
| author | Tim Graham <timograham@gmail.com> | 2013-10-23 06:09:29 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-10-23 06:09:29 -0400 |
| commit | ae48d77ef8e14dae76fddcd5a677b897c7c7c4ae (patch) | |
| tree | fc938daf79b1061aeb70c9d7dd33108d2eb63544 /django/utils | |
| parent | 51d2e1fb233b5507bf14300787939717c4d93834 (diff) | |
Fixed E225 pep8 warnings.
Diffstat (limited to 'django/utils')
| -rw-r--r-- | django/utils/datastructures.py | 2 | ||||
| -rw-r--r-- | django/utils/dateformat.py | 2 | ||||
| -rw-r--r-- | django/utils/datetime_safe.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/django/utils/datastructures.py b/django/utils/datastructures.py index d73f4aa546..e5fe4a776a 100644 --- a/django/utils/datastructures.py +++ b/django/utils/datastructures.py @@ -500,7 +500,7 @@ class ImmutableList(tuple): extend = complain insert = complain pop = complain - remove= complain + remove = complain sort = complain reverse = complain diff --git a/django/utils/dateformat.py b/django/utils/dateformat.py index 3c235d9867..2fe6760a88 100644 --- a/django/utils/dateformat.py +++ b/django/utils/dateformat.py @@ -170,7 +170,7 @@ class TimeFormat(Formatter): def u(self): "Microseconds; i.e. '000000' to '999999'" - return '%06d' %self.data.microsecond + return '%06d' % self.data.microsecond def Z(self): """ diff --git a/django/utils/datetime_safe.py b/django/utils/datetime_safe.py index ca96fb37b0..286b5f127b 100644 --- a/django/utils/datetime_safe.py +++ b/django/utils/datetime_safe.py @@ -54,7 +54,7 @@ def _findall(text, substr): if j == -1: break sites.append(j) - i=j+1 + i = j + 1 return sites def strftime(dt, fmt): |
