[libvirt] [PATCH] maint: Expand tabs in python code
Eric Blake
eblake at redhat.com
Thu Feb 17 20:23:52 UTC 2011
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 at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110217/524b8d19/attachment-0001.sig>
More information about the libvir-list
mailing list