def set_authors(data):
if "<STR_LIT>" in data:<EOL><INDENT>return<EOL><DEDENT>shfile = os.path.join(os.path.dirname(__file__), "<STR_LIT>")<EOL>p = subprocess.Popen(["<STR_LIT>", shfile], stdout=subprocess.PIPE)<EOL>out, _ = p.communicate()<EOL>if p.returncode:<EOL><INDENT>return<EOL><DEDENT>authors = out.strip().split('<STR_LIT:\n>')<EOL>authors = [x.strip() for x in authors]<EOL>data["<STR_LIT>"] = authors<EOL>
Add 'authors' attribute based on repo contributions