Changeset 32:55864b12be3d for wokkel/pubsub.py
- Timestamp:
- Sep 29, 2008, 9:43:56 PM (14 years ago)
- Branch:
- default
- Convert:
- svn:b33ecbfc-034c-dc11-8662-000475d9059e/trunk@67
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wokkel/pubsub.py
r30 r32 703 703 response = domish.Element((NS_PUBSUB, 'pubsub')) 704 704 subscriptions = response.addElement('subscriptions') 705 for node, subscriber, statein result:705 for subscription in result: 706 706 item = subscriptions.addElement('subscription') 707 item['node'] = node708 item['jid'] = subscri ber.full()709 item['subscription'] = s tate707 item['node'] = subscription.nodeIdentifier 708 item['jid'] = subscription.subscriber.full() 709 item['subscription'] = subscription.state 710 710 return response 711 711
Note: See TracChangeset
for help on using the changeset viewer.