[Zope3-checkins] CVS: Zope3/src/datetime - _datetime.py:1.25
Tim Peters
tim.one@comcast.net
Tue, 21 Jan 2003 16:47:54 -0500
Update of /cvs-repository/Zope3/src/datetime
In directory cvs.zope.org:/tmp/cvs-serv15349/src/datetime
Modified Files:
_datetime.py
Log Message:
Removed newly unreachable code.
=== Zope3/src/datetime/_datetime.py 1.24 => 1.25 ===
--- Zope3/src/datetime/_datetime.py:1.24 Tue Jan 21 16:30:14 2003
+++ Zope3/src/datetime/_datetime.py Tue Jan 21 16:47:52 2003
@@ -877,10 +877,6 @@
"""
raise NotImplementedError("tzinfo subclass must override dst()")
- def _inconsistent_dst(self):
- raise ValueError("astimezone(): tz.dst() gave "
- "inconsistent results; cannot convert")
-
def fromutc(self, dt):
"datetime in UTC -> datetime in local time."