From ab02e2a06f6f9270cfb0f48f2334383df0c71d3f Mon Sep 17 00:00:00 2001 From: shimizukawa Date: Tue, 12 Apr 2016 21:57:01 +0900 Subject: [PATCH] Fix flake8 and update CHANGES for #2440 --- CHANGES | 1 + sphinx/util/i18n.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 7d5792e4a..8116a57ca 100644 --- a/CHANGES +++ b/CHANGES @@ -33,6 +33,7 @@ Bugs fixed * #2396: Fix "too many values to unpack" in genindex-single * #2405: Fix numref link in PDF jumps to the wrong location * #2414: Fix missing number in PDF hyperlinks to code listings +* #2440: Fix wrong import for gmtime. Thanks to Uwe L. Korn. Release 1.4 (released Mar 28, 2016) diff --git a/sphinx/util/i18n.py b/sphinx/util/i18n.py index 128484bd0..f4a8bce4b 100644 --- a/sphinx/util/i18n.py +++ b/sphinx/util/i18n.py @@ -14,7 +14,7 @@ import os import re import warnings from os import path -from time import time, gmtime +from time import gmtime from datetime import datetime from collections import namedtuple