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 dcc200e..9b93b7a 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