1 2 3 4 5 6 7 8 9 10 11 12 13 | from around line 542 - jython2.5b0/Lib/zipfile.py st.st_mtime 7308549900279964261 for filename /tmp/tmplZoWjA/webgui/media/img/admin/inline-delete.png def write(self, filename, arcname=None, compress_type=None): """Put the bytes from filename into the archive under the name arcname.""" st = os.stat(filename) print "st.st_mtime %s for filename %s" %(st.st_mtime,filename) mtime = time.localtime(st.st_mtime) date_time = mtime[0:6] Looks like os.stat() for some of my files produces a big big number. Not sure how to recreate. |
Powered by Pylons - Contact Administrators
Comments (0)
You must login before you can comment.