Skip to content

Commit

Permalink
Merge pull request #1213 from a523/patch-1
Browse files Browse the repository at this point in the history
Update blocking_publish_mandatory.rst
  • Loading branch information
lukebakken committed May 13, 2019
2 parents 9201ab8 + baea72f commit 8a3c46c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/examples/blocking_publish_mandatory.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The following example demonstrates how to check if a message is delivered by set
body='Hello World!',
properties=pika.BasicProperties(content_type='text/plain',
delivery_mode=1),
mandatory=True):
mandatory=True)
print('Message was published')
except pika.exceptions.UnroutableError:
print('Message was returned')

0 comments on commit 8a3c46c

Please sign in to comment.