mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-28 20:03:43 +03:00
Dropped redundant call to FixedOffsetTimezone.__init__
This commit is contained in:
parent
6b8861d2d5
commit
f5f2e2c092
|
@ -64,7 +64,6 @@ class FixedOffsetTimezone(datetime.tzinfo):
|
||||||
return cls._cache[key]
|
return cls._cache[key]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
tz = datetime.tzinfo.__new__(cls, offset, name)
|
tz = datetime.tzinfo.__new__(cls, offset, name)
|
||||||
tz.__init__(offset, name)
|
|
||||||
cls._cache[key] = tz
|
cls._cache[key] = tz
|
||||||
return tz
|
return tz
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user