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

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


Wrong list. Please ignore

On 12/28/2015 03:52 PM, Ramon Medeiros wrote:
> .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 58abe84..e0c371d 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -58,7 +58,7 @@ I18N_FILES = ./i18n.py \
>   # $ git hash-object -t tree /dev/null
>   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
>   	$(PEP8) --version

-- 

Ramon Nunes Medeiros
Kimchi Developer
Linux Technology Center Brazil
IBM Systems & Technology Group
Phone : +55 19 2132 7878
ramonn at br.ibm.com




More information about the Kimchi-devel mailing list