Comment Comment by rtpg data = json.load(sys.stdin)commits = [elt.commit for elt in data if elt.commit.author = "Tom Hudson"]json.dump(commits, sys.stdout)Definitely not as straightforward... would be nice to have a bit more affordances for path expressions in Python. parent rtpg 3 years ago
commits = [elt.commit for elt in data if elt.commit.author = "Tom Hudson"]
json.dump(commits, sys.stdout)
Definitely not as straightforward... would be nice to have a bit more affordances for path expressions in Python.