[Kimchi-devel] [Gingerbase] Remove pyflakes checking on .git

Ramon Medeiros ramonn at linux.vnet.ibm.com
Mon Dec 28 17:53:08 UTC 2015


.git isn't a directory on submodles, it's handler for a directory in
Wok. This will avoid this kind of error:

./.git:1:7: invalid syntax
gitdir: ../../../../.git/modules/src/wok/plugins/<plugin>
      ^

Signed-off-by: Ramon Medeiros <ramonn at linux.vnet.ibm.com>
---
 Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 1f6d703..5e875d1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -58,7 +58,7 @@ I18N_FILES = ./i18n.py \
 
 check-local:
 	contrib/check_i18n.py $(I18N_FILES)
-	find . -path './.git' -prune -type f -o \
+	find . -path -prune -type f -o \
 		-name '*.py' -o -name '*.py.in'  | xargs $(PYFLAKES) | \
 		while read LINE; do echo "$$LINE"; false; done
 
-- 
2.1.0




More information about the Kimchi-devel mailing list