danbarrese
11/23/2016 - 6:37 PM

open file from relative directory

open file from relative directory

props_file_path = os.path.join(os.path.dirname(__file__), 'projectinfo/gitauthormap.properties')
git_author_map = dict(line.strip().split('=') for line in open(props_file_path))