Re: [PATCH] maint: Expand tabs in python code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/17/2011 07:34 AM, Jiri Denemark wrote:
> Also cfg.mk is tweaked to force this for all future changes to *.py
> files.
> ---
>  cfg.mk                 |    4 +-
>  docs/apibuild.py       | 3194 ++++++++++++++++++++++++------------------------
>  docs/index.py          |  834 +++++++-------
>  python/generator.py    |  578 +++++-----
>  python/tests/create.py |    8 +-
>  5 files changed, 2309 insertions(+), 2309 deletions(-)
> 
> diff --git a/cfg.mk b/cfg.mk
> index 4bbeb96..f870723 100644
> --- a/cfg.mk
> +++ b/cfg.mk
> @@ -327,8 +327,8 @@ sc_prohibit_ctype_h:
>  # files in gnulib, since they're imported.
>  sc_TAB_in_indentation:
>  	@prohibit='^ *	'						\
> -	in_vc_files='(\.(rng|[ch](\.in)?|html.in)|(daemon|tools)/.*\.in)$$' \
> -	halt='use leading spaces, not TAB, in C, sh, html, and RNG schemas' \
> +	in_vc_files='(\.(rng|[ch](\.in)?|html.in|py)|(daemon|tools)/.*\.in)$$' \
> +	halt='use leading spaces, not TAB, in C, sh, html, py, and RNG schemas' \
>  	  $(_sc_search_regexp)
>  

ACK.  And confirmed that the 'git diff -b' is just the above hunk.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]