projects.py: Increase debug logging

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2017-04-24 13:56:34 +00:00
commit 641364543a

View file

@ -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', '')