mirror of
ssh://git.janware.com/janware/proj/jw-pkg
synced 2026-04-24 09:13:37 +02:00
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:
parent
af6de30546
commit
18a2ee6c99
1 changed files with 1 additions and 1 deletions
|
|
@ -582,7 +582,7 @@ class App(Base):
|
||||||
raise Exception(f'No version file found for project "{project}"')
|
raise Exception(f'No version file found for project "{project}"')
|
||||||
path = proj_root + '/make/project.conf'
|
path = proj_root + '/make/project.conf'
|
||||||
ret = self.read_value(path, section, key)
|
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))
|
(self.__top_name, project, section, '.' + key if key else '', ret))
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue