]> granicus.if.org Git - python/commit
bpo-30989: Sort in TimedRotatingFileHandler only when needed. (GH-2812) (GH-4466)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 19 Nov 2017 18:43:49 +0000 (10:43 -0800)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Sun, 19 Nov 2017 18:43:49 +0000 (18:43 +0000)
commit65dffe58dd062385024eacbe75a0fa59ec12a993
tree55e79e5e87445c1641ea074070234162d17bb56a
parent80baec58f5019977c2f46f07ab0a4362c121127f
bpo-30989: Sort in TimedRotatingFileHandler only when needed. (GH-2812) (GH-4466)

TimedRotatingFileHandler.getFilesToDelete() now sorts only when needed.
(cherry picked from commit afad147b59fe84b12317f7340ddd2deeecb22321)
Lib/logging/handlers.py