[releng/alatier/inc-elements] convert-to-tarballs.py: handle .inc elements as well




commit 46b958ef0b355f54d933ef0ca5d5ba6ab66d7044
Author: Jordan Petridis <jordan centricular com>
Date:   Fri Jul 16 17:01:44 2021 +0300

    convert-to-tarballs.py: handle .inc elements as well

 tools/smoketesting/convert-to-tarballs.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tools/smoketesting/convert-to-tarballs.py b/tools/smoketesting/convert-to-tarballs.py
index 566f913..bd86e1a 100755
--- a/tools/smoketesting/convert-to-tarballs.py
+++ b/tools/smoketesting/convert-to-tarballs.py
@@ -180,7 +180,7 @@ class ConvertToTarballs:
 
         for directory in directories:
             for filename in os.listdir(directory):
-                if not filename.endswith('.bst'):
+                if not (filename.endswith('.bst') or filename.endswith('.inc')):
                     continue
 
                 name = filename[:-len('.bst')]


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