Re: [PATCH 24/24] Add a rule for indenting labels

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

 



On 03/25/2014 02:40 PM, Martin Kletzander wrote:
> On Tue, Mar 25, 2014 at 08:04:08AM +0100, Ján Tomko wrote:
>> diff --git a/cfg.mk b/cfg.mk
>> index 559f719..cbcf40b 100644
>> --- a/cfg.mk
>> +++ b/cfg.mk
>> @@ -898,6 +898,12 @@ sc_prohibit_virConnectOpen_in_virsh:
>>  	halt='Use vshConnect() in virsh instead of virConnectOpen*'    \
>>  	  $(_sc_search_regexp)
>>  
>> +sc_require_space_before_label:
>> +	@prohibit='^[_a-zA-Z0-9]+:$$'                                  \
> 
> Couldn't we at least prohibit 2 and 3 spaces as well?  I mean doing:
> 
> prohibit='^(   ?)?[_a-zA-Z0-9]+:$$'
> 
> ACK with that amended.
> 

I've changed the regexp and pushed the series.

Thanks for the reviews!

Jan


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]