mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 20:13:32 +01:00
projects.py: Increase debug logging
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
2dfcc8042a
commit
641364543a
1 changed files with 2 additions and 1 deletions
|
|
@ -128,12 +128,13 @@ def read_value(path, section, key):
|
|||
return None
|
||||
|
||||
def get_value(name, section, key):
|
||||
#print("top_name = ", top_name)
|
||||
debug("getting value [%s].%s for project %s (%s)" %(section, key, name, top_name))
|
||||
if top_name and name == top_name:
|
||||
proj_root = topdir
|
||||
else:
|
||||
proj_root = projs_root + '/' + name
|
||||
|
||||
debug("proj_root = " + proj_root)
|
||||
if section == 'version':
|
||||
file = open(proj_root + '/VERSION', 'r')
|
||||
r=file.read().replace('\n', '').replace('-dev', '')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue