Correct test for config value being set

Fix the vendor.py test checking if cargo vendoring should be done.

Signed-off-by: William Douglas <william.douglas@intel.com>
This commit is contained in:
William Douglas
2023-03-29 16:31:28 -07:00
parent fb17b414ed
commit aa0028d372
+1 -1
View File
@@ -22,7 +22,7 @@ def vendor_check():
if 'autospec' not in config.sections():
return False
if vendor := config['autospec'].get('cargo_vendor'):
if vendor:
if vendor == "true":
return 'cargo'
return False