[releng/abderrahim/beta: 4/4] convert-to-tarballs: don't set BST_STRICT if it isn't already set



commit beeaca50d3506ba37c7a79b1a90f02c2761d1a34
Author: Abderrahim Kitouni <akitouni gnome org>
Date:   Mon Sep 2 17:02:13 2019 +0100

    convert-to-tarballs: don't set BST_STRICT if it isn't already set
    
    we don't have it for 3.32

 tools/smoketesting/convert-to-tarballs.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/tools/smoketesting/convert-to-tarballs.py b/tools/smoketesting/convert-to-tarballs.py
index 35f3533..eb9f3fa 100755
--- a/tools/smoketesting/convert-to-tarballs.py
+++ b/tools/smoketesting/convert-to-tarballs.py
@@ -864,7 +864,9 @@ def main(args):
             ci = yaml.round_trip_load(f, preserve_quotes=True)
 
         ci['variables']['FLATPAK_BRANCH'] = flatpak_branch
-        ci['variables']['BST_STRICT'] = '--strict'
+
+        if 'BST_STRICT' in ci['variables']:
+            ci['variables']['BST_STRICT'] = '--strict'
 
         with open(cifile, 'w') as f:
             yaml.round_trip_dump(ci, f)


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