Update of /cvsroot/pywin32/pywin32/win32/Lib
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv28731/win32/Lib
Modified Files:
win32timezone.py
Log Message:
remove invalid assertion
Index: win32timezone.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/Lib/win32timezone.py,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** win32timezone.py 25 Jan 2009 14:46:56 -0000 1.25
--- win32timezone.py 7 Feb 2009 01:12:07 -0000 1.26
***************
*** 474,479 ****
"Calculates the daylight savings offset according to the datetime.tzinfo spec"
if dt is None: return
- assert dt.tzinfo is self
-
winInfo = self.getWinInfo(dt.year)
if not self.fixedStandardTime and self._inDaylightSavings(dt):
--- 474,477 ----
|