Skip to content

Commit

Permalink
Remove vestigial babel.localtime cache bits
Browse files Browse the repository at this point in the history
  • Loading branch information
akx committed Jan 20, 2023
1 parent 61be9dc commit e66f74b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions babel/localtime/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,12 @@
import datetime
import sys
import time
from threading import RLock

if sys.platform == 'win32':
from babel.localtime._win32 import _get_localzone
else:
from babel.localtime._unix import _get_localzone


_cached_tz = None
_cache_lock = RLock()

STDOFFSET = datetime.timedelta(seconds=-time.timezone)
if time.daylight:
DSTOFFSET = datetime.timedelta(seconds=-time.altzone)
Expand Down

0 comments on commit e66f74b

Please sign in to comment.