From b6b873d2ada0d7c2a616d11f161a7688df15f45f Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sat, 17 May 2014 09:54:34 -0700 Subject: Fixed several flake8 errors, including one where a test wouldn't be run --- django/utils/timezone.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'django') diff --git a/django/utils/timezone.py b/django/utils/timezone.py index 0c44d4fd4d..c0ea04c7d8 100644 --- a/django/utils/timezone.py +++ b/django/utils/timezone.py @@ -360,7 +360,7 @@ def make_aware(value, timezone): # Check that we won't overwrite the timezone of an aware datetime. if is_aware(value): raise ValueError( - "make_aware expects a naive datetime, got %s" % value) + "make_aware expects a naive datetime, got %s" % value) # This may be wrong around DST changes! return value.replace(tzinfo=timezone) -- cgit v1.3