buildman: Ensure config_fname is inited

Init this variable at the top level since it is a global.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2022-11-09 19:14:51 -07:00
parent b144b93ea9
commit 301cd7431a

View 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