]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Check for tabs in augeas files
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 31 Jan 2018 14:53:03 +0000 (14:53 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Wed, 31 Jan 2018 15:19:26 +0000 (15:19 +0000)
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
cfg.mk
src/locking/libvirt_lockd.aug

diff --git a/cfg.mk b/cfg.mk
index bb0df6fc282ea70d5c5b21c193cc36e0688a4e68..c26556fb2f51f32ee95fdac26d807e6700e571f0 100644 (file)
--- a/cfg.mk
+++ b/cfg.mk
@@ -485,7 +485,7 @@ sc_size_of_brackets:
 # Ensure that no C source file, docs, or rng schema uses TABs for
 # indentation.  Also match *.h.in files, to get libvirt.h.in.  Exclude
 # files in gnulib, since they're imported.
-space_indent_files=(\.(rng|s?[ch](\.in)?|html.in|py|pl|syms)|(daemon|tools)/.*\.in)
+space_indent_files=(\.(aug(\.in)?|rng|s?[ch](\.in)?|html.in|py|pl|syms)|(daemon|tools)/.*\.in)
 sc_TAB_in_indentation:
        @prohibit='^ *  ' \
        in_vc_files='$(space_indent_files)$$' \
index 6a3bcba0ef5d135ca0bf083a6dd69adcf472d29f..6888e8e9b7187dafa8fc2bd6dd94ba23ef430f49 100644 (file)
@@ -20,8 +20,8 @@ module Libvirt_lockd =
    let entry = bool_entry "auto_disk_leases"
              | bool_entry "require_lease_for_disks"
              | str_entry "file_lockspace_dir"
-            | str_entry "lvm_lockspace_dir"
-            | str_entry "scsi_lockspace_dir"
+             | str_entry "lvm_lockspace_dir"
+             | str_entry "scsi_lockspace_dir"
    let comment = [ label "#comment" . del /#[ \t]*/ "# " .  store /([^ \t\n][^\n]*)?/ . del /\n/ "\n" ]
    let empty = [ label "#empty" . eol ]