summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalph Bean <rbean@redhat.com>2017-08-29 14:37:00 +0000
committerRalph Bean <rbean@redhat.com>2017-08-29 14:37:00 +0000
commit588a2a3598470887445ebc7f84f77c92836488b3 (patch)
treec93d9e37eaab89e00b0caeffea1a71bfce64cd9d
parent5f907b63db3f95b972e9a78e70368142c4846a1b (diff)
downloadansible-588a2a3598470887445ebc7f84f77c92836488b3.tar.gz
ansible-588a2a3598470887445ebc7f84f77c92836488b3.tar.xz
ansible-588a2a3598470887445ebc7f84f77c92836488b3.zip
Flush stdout after last print statement.
-rw-r--r--roles/bodhi2/backend/files/koji-sync-listener.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/bodhi2/backend/files/koji-sync-listener.py b/roles/bodhi2/backend/files/koji-sync-listener.py
index e9baeab73..a047ce055 100644
--- a/roles/bodhi2/backend/files/koji-sync-listener.py
+++ b/roles/bodhi2/backend/files/koji-sync-listener.py
@@ -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'