From: Christian Babeux Date: Fri, 14 Dec 2012 01:36:32 +0000 (-0500) Subject: Fix lttng-gen-tp: Template file must end in .tp X-Git-Tag: v2.1.0~12 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=7cd5a8404671276379bdc6a2331ac0da96f9b72b;p=lttng-ust.git Fix lttng-gen-tp: Template file must end in .tp Fixes #297 Signed-off-by: Christian Babeux Signed-off-by: Mathieu Desnoyers --- diff --git a/tools/lttng-gen-tp b/tools/lttng-gen-tp index adaa278c..79da6b74 100755 --- a/tools/lttng-gen-tp +++ b/tools/lttng-gen-tp @@ -263,6 +263,9 @@ def main(argv=None): # process arguments for arg in args: + if arg[-3:] != ".tp": + print arg + " does not end in .tp. Skipping." + continue tpl = None try: