Ignore:
Timestamp:
Jan 10, 2010, 12:43:48 PM (12 years ago)
Author:
Ralph Meijer <ralphm@…>
Branch:
default
Message:

Don't set an explicit namespace on wokkel.pubsub.Item.

Before this change, wokkel.pubsub.Item could not be used for constructing
notifications, as those are in another namespace. This makes sure that items
will always have the correct namespace, inherited from their ancestors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wokkel/pubsub.py

    r84 r86  
    175175        """
    176176
    177         domish.Element.__init__(self, (NS_PUBSUB, 'item'))
     177        domish.Element.__init__(self, (None, 'item'))
    178178        if id is not None:
    179179            self['id'] = id
Note: See TracChangeset for help on using the changeset viewer.