Flush stdout after last print statement.

This commit is contained in:
Ralph Bean 2017-08-29 14:37:00 +00:00
parent 5f907b63db
commit 588a2a3598

View file

@ -20,6 +20,7 @@ def handle(content):
body = json.loads(body)
package = body['repo']
print("Operating on {package}".format(package=package))
sys.stdout.flush()
# XXX If you modify this taglist. Please also modify the other copy in
# bodhi2/backend/tasks/main.yml
taglist = 'f28 f27 f26 f25 f28-container f27-container f26-container f25-container f28-docker f27-docker f26-docker f25-docker epel7 dist-6E-epel module-package-list'