From dc2545cad60d7e8bae894f5d60eaeb3cff7485ae Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Mon, 24 Aug 2015 14:43:45 +0900 Subject: [PATCH] project.py: Improve message shown when hook is not replaced If a hook file has been modified locally, it will not be replaced. Improve the message to make this clearer. Also change it from an error to a warning. Change-Id: I62c635390f24d2868db17717c247861b0381c99f --- project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project.py b/project.py index 4f2b203a..a8d012d2 100644 --- a/project.py +++ b/project.py @@ -2227,7 +2227,7 @@ class Project(object): if filecmp.cmp(stock_hook, dst, shallow=False): os.remove(dst) else: - _error("%s: Not replacing %s hook", self.relpath, name) + _warn("%s: Not replacing locally modified %s hook", self.relpath, name) continue try: os.symlink(os.path.relpath(stock_hook, os.path.dirname(dst)), dst)