use unbuffered i/o for script adding launchpad comments

Using unbuffered I/O should let us see some output sooner and make
debugging hangs easier.

Change-Id: I26d2f207fa7d4083cefc5521b113f57a45f8a53e
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2017-10-23 14:36:33 -04:00
parent db9024075b
commit 598e8c2f08
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ BUGS=$(git log $PREVIOUS..$VERSION | egrep -i "Closes(.| )Bug:" | egrep -o "[0-9
if [[ -z "$BUGS" ]]; then
echo "No bugs found $PREVIOUS .. $VERSION"
else
$TOOLSDIR/launchpad_add_comment.py \
python2 -u $TOOLSDIR/launchpad_add_comment.py \
--subject="Fix included in $REPO $VERSION" \
--content="This issue was fixed in the $REPO $VERSION $RELEASETYPE." \
$BUGS