Dropped redundant call to FixedOffsetTimezone.__init__

This commit is contained in:
Daniele Varrazzo 2012-10-21 21:12:02 +01:00
parent 6b8861d2d5
commit f5f2e2c092

View File

@ -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