~ubuntu-branches/ubuntu/quantal/gozerbot/quantal

« back to all changes in this revision

Viewing changes to build/lib/gozerbot/xmpp/namespace.py

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Malcolm
  • Date: 2010-09-29 18:20:02 UTC
  • mfrom: (3.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100929182002-gi532gnem1vlu6jy
Tags: 0.9.1.3-5
Added python2.5 build dependency. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# gozerbot/xmpp/namespace.py
 
2
#
 
3
#
 
4
 
 
5
# CONSTANTS
 
6
 
 
7
attributes = {}
 
8
subelements = {}
 
9
 
 
10
attributes['message'] = ['type', 'from', 'to', 'id']
 
11
subelements['message'] = ['subject', 'body', 'error', 'html', 'thread', 'x']
 
12
 
 
13
attributes['presence'] = ['type', 'from', 'to', 'id']
 
14
subelements['presence'] = ['show', 'status', 'priority', 'x']
 
15
 
 
16
 
 
17
attributes['iq'] = ['type', 'from', 'to', 'id']
 
18
subelements['iq'] = ['query', 'error']