summaryrefslogtreecommitdiff
path: root/django/utils
diff options
context:
space:
mode:
Diffstat (limited to 'django/utils')
-rw-r--r--django/utils/datastructures.py2
-rw-r--r--django/utils/dateformat.py2
-rw-r--r--django/utils/datetime_safe.py2
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):