Index: chrome/common/extensions/PRESUBMIT.py |
diff --git a/chrome/common/extensions/PRESUBMIT.py b/chrome/common/extensions/PRESUBMIT.py |
index 1ab0964dff072c4319d0f4b8ebc126b474a51a2b..46865d19148ea413d23171ceb86d27ce43e05718 100644 |
--- a/chrome/common/extensions/PRESUBMIT.py |
+++ b/chrome/common/extensions/PRESUBMIT.py |
@@ -147,9 +147,9 @@ def StaticDocBuilt(static_file, input_api): |
""" |
for subdir in [APPS_DIR, EXTENSIONS_DIR]: |
generated_file = _FindFileInAlternateDir(static_file, subdir, input_api) |
- if not _ChangesMatch(generated_file, static_file): |
- return False |
- return True |
+ if _ChangesMatch(generated_file, static_file): |
+ return True |
+ return False |
Joao da Silva
2012/08/08 09:11:50
I'll be wearing a brown bag over my head today ._.
|
def _FindFileInAlternateDir(affected_file, alt_dir, input_api): |
"""Return an AffectFile for the file in |alt_dir| that corresponds to |