From: Holger Schurig Date: Thu, 1 Jul 2010 11:32:15 +0000 (+0200) Subject: webber.py: removed a TODO item: output file will not the modification time X-Git-Url: https://oss.titaniummirror.com/gitweb?p=webber.git;a=commitdiff_plain;h=c1d97754a5952745e75a0ee7a0b0477f58a84646 webber.py: removed a TODO item: output file will not the modification time from file.mtime --- diff --git a/webber.py b/webber.py index 3ab9178..04d0778 100644 --- a/webber.py +++ b/webber.py @@ -707,7 +707,7 @@ def render_files(): f = open(fname_out, "w") f.write(contents) f.close() - # TODO: Time-Stamps setzen? + os.utime(fname_out, (file.mtime, file.mtime)) #print file.mtime, file.get("ctime","?") #print direc.keys()