]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
buildman: Ensure config_fname is inited
authorSimon Glass <sjg@chromium.org>
Thu, 10 Nov 2022 02:14:51 +0000 (19:14 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 22 Nov 2022 22:13:35 +0000 (15:13 -0700)
Init this variable at the top level since it is a global.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/buildman/bsettings.py

index dcc200ea79d09115b86d00b3fbf81c456e7b649a..9b93b7a51e1bbb3944158596c95bd45211b6105b 100644 (file)
@@ -5,6 +5,7 @@ import configparser
 import os
 import io
 
+config_fname = None
 
 def Setup(fname=''):
     """Set up the buildman settings module by reading config files