File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ Next version
1010 hopefully improves compatibility on macOS.
1111- Introduced a ``--no-parallel `` argument to ``process_imagefields ``.
1212- Added Django 5.2a1.
13+ - Dropped the Python 2 fallback from the code. We don't support Python 2
14+ anymore.
1315
1416
15170.21 (2024-12-09)
Original file line number Diff line number Diff line change 22import io
33import logging
44import os
5- import re
65import warnings
76from collections import namedtuple
87from random import randint
@@ -186,7 +185,6 @@ def _process_context(self, processors):
186185 spec = (
187186 "|" .join (str (p ) for p in context .processors ) + "|" + str (context .ppoi )
188187 )
189- spec = re .sub (r"\bu('|\")" , "\\ 1" , spec ) # Strip u"" prefixes on PY2
190188 p2 = hashdigest (spec )
191189 context .name = f"{ base .path } /{ base .basename } { p2 [:12 ]} { context .extension } "
192190 context .seal ()
You can’t perform that action at this time.
0 commit comments