App.get_value(): Beautify debug logging

Enclose sections / keys taken from project.conf in [square.brackets],
hinting at what they are supposed to mean.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-04-06 15:37:02 +02:00
commit 18a2ee6c99

View file

@ -582,7 +582,7 @@ class App(Base):
raise Exception(f'No version file found for project "{project}"')
path = proj_root + '/make/project.conf'
ret = self.read_value(path, section, key)
log(DEBUG, "Lookup %s -> %s / %s%s -> \"%s\"" %
log(DEBUG, "Lookup %s -> %s / [%s%s] -> \"%s\"" %
(self.__top_name, project, section, '.' + key if key else '', ret))
return ret