From 0a63ef3f61f42c5fd22f2d0b626e386fd426ebed Mon Sep 17 00:00:00 2001 From: Ramin Farajpour Cami Date: Tue, 15 Nov 2016 02:10:28 +0330 Subject: Fixed #27463 -- Fixed E741 flake8 warnings. --- django/utils/dateformat.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'django/utils/dateformat.py') diff --git a/django/utils/dateformat.py b/django/utils/dateformat.py index 5e39648343..70650bf625 100644 --- a/django/utils/dateformat.py +++ b/django/utils/dateformat.py @@ -130,7 +130,7 @@ class TimeFormat(Formatter): "Minutes; i.e. '00' to '59'" return '%02d' % self.data.minute - def O(self): + def O(self): # NOQA: E743 """ Difference to Greenwich time in hours; e.g. '+0200', '-0430'. @@ -247,7 +247,7 @@ class DateFormat(TimeFormat): "Month, textual, long; e.g. 'January'" return MONTHS[self.data.month] - def I(self): + def I(self): # NOQA: E743 "'1' if Daylight Savings Time, '0' otherwise." try: if self.timezone and self.timezone.dst(self.data): @@ -264,7 +264,7 @@ class DateFormat(TimeFormat): "Day of the month without leading zeros; i.e. '1' to '31'" return self.data.day - def l(self): + def l(self): # NOQA: E743 "Day of the week, textual, long; e.g. 'Friday'" return WEEKDAYS[self.data.weekday()] -- cgit v1.3