diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2014-05-17 09:54:34 -0700 |
|---|---|---|
| committer | Alex Gaynor <alex.gaynor@gmail.com> | 2014-05-17 09:54:34 -0700 |
| commit | b6b873d2ada0d7c2a616d11f161a7688df15f45f (patch) | |
| tree | 12d95bc62db86360cb745b1d018a49bd5b656182 /django/utils/timezone.py | |
| parent | 268670a3a40aac87ed8c5570a97ed01aa0f2c0ab (diff) | |
Fixed several flake8 errors, including one where a test wouldn't be run
Diffstat (limited to 'django/utils/timezone.py')
| -rw-r--r-- | django/utils/timezone.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
