Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
Bug 832472: Truncate mtime at ms. r=gps
Browse files Browse the repository at this point in the history
  • Loading branch information
khuey committed Jan 18, 2013
1 parent 0cab2a1 commit 30e0722
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pymake/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ def mtimeislater(deptime, targettime):
return True
if targettime is None:
return False
return deptime > targettime
# int(1000*x) because of http://bugs.python.org/issue10148
return int(1000 * deptime) > int(1000 * targettime)

def getmtime(path):
try:
Expand Down

0 comments on commit 30e0722

Please sign in to comment.