Mercurial > piecrust2
diff piecrust/baking/single.py @ 286:a2d283d1033d
tests: Fixes for running on Windows.
Mostly about those damn backslashes, as usual.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Wed, 04 Mar 2015 22:40:50 -0800 |
parents | 8c0c53a315ae |
children | eb958151c8dc |
line wrap: on
line diff
--- a/piecrust/baking/single.py Mon Mar 02 22:42:16 2015 -0800 +++ b/piecrust/baking/single.py Wed Mar 04 22:40:50 2015 -0800 @@ -150,7 +150,7 @@ try: in_path_time = record_entry.path_mtime out_path_time = os.path.getmtime(out_path) - if out_path_time > in_path_time: + if out_path_time >= in_path_time: do_bake = False except OSError: # File doesn't exist, we'll need to bake.