Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(225)

Unified Diff: tools/isolate/isolate.py

Issue 10068032: Rewrite isolate_smoke_test.py to increase the coverage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/isolate/isolate.py
diff --git a/tools/isolate/isolate.py b/tools/isolate/isolate.py
index 387cc17d1d15d4e9325341599c5f1169d1622048..7e39bf4caf4e150ece016b7f454ab0d7a92e9e42 100755
--- a/tools/isolate/isolate.py
+++ b/tools/isolate/isolate.py
@@ -177,8 +177,7 @@ def process_inputs(prevdict, indir, infiles, level, read_only):
outdict[infile]['mode'] = filemode
outdict[infile]['size'] = filestats.st_size
# Used to skip recalculating the hash. Use the most recent update time.
- outdict[infile]['timestamp'] = int(round(
- max(filestats.st_mtime, filestats.st_ctime)))
+ outdict[infile]['timestamp'] = int(round(filestats.st_mtime))
# If the timestamp wasn't updated, carry on the sha-1.
if (prevdict.get(infile, {}).get('timestamp') ==
outdict[infile]['timestamp'] and

Powered by Google App Engine
This is Rietveld 408576698