From 5b152b2541b2fa7b8a34d90ca0ab2ea8ffa7e60f Mon Sep 17 00:00:00 2001 From: Carlton Gibson Date: Fri, 10 Nov 2017 09:31:16 +0100 Subject: [PATCH] Strip whitespace MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Grrr. GitHub web editor 😡 --- rest_framework/compat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest_framework/compat.py b/rest_framework/compat.py index f34cdcc54..75a840ad5 100644 --- a/rest_framework/compat.py +++ b/rest_framework/compat.py @@ -248,7 +248,7 @@ else: def md_filter_add_syntax_highlight(md): return False -# pytz is required from Django 1.11. Remove when dropping Django 1.10 support. +# pytz is required from Django 1.11. Remove when dropping Django 1.10 support. try: import pytz # noqa from pytz.exceptions import InvalidTimeError