From d283d603138cae6045d2b78b7bfaa0441fcd1906 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 18 Sep 2012 00:23:13 +0200 Subject: [PATCH] preserve timestamp of converted pages --- moin2doku.py | 1 + 1 file changed, 1 insertion(+) diff --git a/moin2doku.py b/moin2doku.py index 82f80c8..d01918c 100755 --- a/moin2doku.py +++ b/moin2doku.py @@ -169,6 +169,7 @@ def convertfile(pagedir, overwrite = False): print "dokuname: [%s]" % out_file try: writefile(out_file, content, overwrite = overwrite) + copystat(curr_rev, out_file) except OSError, e: print e return 0