generate_changelog.py: flush output so piping works correctly.

pull/2370/merge
Josh Haberman 8 years ago
parent 84948462a4
commit 277a8b6580
  1. 1
      generate_changelog.py

@ -57,6 +57,7 @@ previous = sys.argv[1]
for language in languages: for language in languages:
print(language.name) print(language.name)
sys.stdout.flush()
os.system(("git log --pretty=oneline --abbrev-commit %s...HEAD %s | " + os.system(("git log --pretty=oneline --abbrev-commit %s...HEAD %s | " +
"sed -e 's/^/ - /'") % (previous, " ".join(language.pathspec))) "sed -e 's/^/ - /'") % (previous, " ".join(language.pathspec)))
print("") print("")

Loading…
Cancel
Save