From eae5f062ae008eb3b615170a102c715d70aa68e6 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Thu, 20 Jun 2019 09:17:36 +0530 Subject: fix template file after clang-format clang-format gets applied for all the files ending with .c or .h but in this case, new-xlator.c was a template file. hence change the suffix to reflect the same, also to avoid the auto-formatting on template file. updates: bz#1193929 Change-Id: I1c00a28f165f34dbe00fd3b6b070d868a56f9157 Signed-off-by: Amar Tumballi --- extras/create_new_xlator/generate_xlator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extras/create_new_xlator/generate_xlator.py') diff --git a/extras/create_new_xlator/generate_xlator.py b/extras/create_new_xlator/generate_xlator.py index e334b0d7642..983868c04db 100755 --- a/extras/create_new_xlator/generate_xlator.py +++ b/extras/create_new_xlator/generate_xlator.py @@ -169,7 +169,7 @@ def load_fragments (): cur_value = "" result = {} basepath = os.path.abspath(os.path.dirname(__file__)) - fragpath = basepath + "/new-xlator-tmpl.c" + fragpath = basepath + "/new-xlator.c.tmpl" for line in open(fragpath, "r").readlines(): m = pragma_re.search(line) if m: -- cgit