src/reportlab/lib/utils.py
changeset 3569 b4bb97f6ed72
parent 3517 d49ec5554d81
child 3617 ae5744e97c42
--- a/src/reportlab/lib/utils.py	Fri Jul 27 09:53:04 2012 +0000
+++ b/src/reportlab/lib/utils.py	Mon Aug 06 09:21:41 2012 +0000
@@ -482,14 +482,7 @@
         return os_path_getmtime(pn)
     s = e[5]
     d = e[6]
-    y = ((d>>9)&0x7f)+1980
-    m = (d>>5)&0xf
-    d &= 0x1f
-    h = (s>>11)&0xf
-    m = (s>>5)&0x3f
-    s &= 0x1f
-    s <<= 1
-    return time_mktime((y,m,d,h,m,s,0,0,0))
+    return time_mktime((((d>>9)&0x7f)+1980,(d>>5)&0xf,d&0x1f,(s>>11)&0x1f,(s>>5)&0x3f,(s&0x1f)<<1,0,0,0))
 
 def rl_get_module(name,dir):
     if name in sys.modules: