Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3747926
D291.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
338 B
Referenced Files
None
Subscribers
None
D291.diff
View Options
diff --git a/notifications b/notifications
--- a/notifications
+++ b/notifications
@@ -90,7 +90,10 @@
def onBrokerMessage(channel, basic_deliver, properties, body):
notification = formatNotification(body.decode("utf-8"))
+
print(notification)
+ sys.stdout.flush()
+
channel.basic_ack(basic_deliver.delivery_tag)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 17, 05:36 (21 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2248745
Default Alt Text
D291.diff (338 B)
Attached To
Mode
D291: Flush stdout after a notification has been printed
Attached
Detach File
Event Timeline
Log In to Comment