comparison src/plugins/plugin_xep_0277.py @ 1712:96b722a5e263

plugin XEP-0277: remove forgotten break statement
author souliane <souliane@mailoo.org>
date Wed, 02 Dec 2015 00:37:28 +0100
parents e5b569d0c2e7
children 0eaa1a409dfb
comparison
equal deleted inserted replaced
1711:e5b569d0c2e7 1712:96b722a5e263
480 comments_node = comments_node_base 480 comments_node = comments_node_base
481 comments_service = client.pubsub_service if client.pubsub_service is not None else service 481 comments_service = client.pubsub_service if client.pubsub_service is not None else service
482 482
483 try: 483 try:
484 yield self._p.createNode(comments_service, comments_node, options, profile_key=profile) 484 yield self._p.createNode(comments_service, comments_node, options, profile_key=profile)
485 break
486 except error.StanzaError as e: 485 except error.StanzaError as e:
487 if e.condition == 'conflict': 486 if e.condition == 'conflict':
488 log.info(u"node {} already exists on service {}".format(comments_node, comments_service)) 487 log.info(u"node {} already exists on service {}".format(comments_node, comments_service))
489 else: 488 else:
490 raise e 489 raise e