Changeset 29:c7380726f583 in ralphm-patches for pubsub-subscription-options.patch


Ignore:
Timestamp:
Jan 2, 2010, 10:52:36 PM (11 years ago)
Author:
Ralph Meijer <ralphm@…>
Branch:
default
Message:

Remove unneeded parameter to typeCheck.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pubsub-subscription-options.patch

    r28 r29  
    11Add support for subscription options in subscribe requests
    22
    3 diff -r 803662712cbe wokkel/pubsub.py
    4 --- a/wokkel/pubsub.py  Sat Jan 02 15:27:24 2010 +0100
    5 +++ b/wokkel/pubsub.py  Sat Jan 02 22:43:45 2010 +0100
     3diff -r 4ae065e9ba2b wokkel/pubsub.py
     4--- a/wokkel/pubsub.py  Sat Jan 02 22:51:43 2010 +0100
     5+++ b/wokkel/pubsub.py  Sat Jan 02 22:52:17 2010 +0100
    66@@ -228,7 +228,7 @@
    77     # Map request verb to parameter handler names
     
    164164+            form = data_form.findForm(iq.pubsub.options,
    165165+                                      NS_PUBSUB_SUBSCRIBE_OPTIONS)
    166 +            form.typeCheck({})
     166+            form.typeCheck()
    167167+            return form
    168168+
     
    206206 
    207207 class PubSubService(XMPPHandler, IQHandlerMixin):
    208 diff -r 803662712cbe wokkel/test/test_pubsub.py
    209 --- a/wokkel/test/test_pubsub.py        Sat Jan 02 15:27:24 2010 +0100
    210 +++ b/wokkel/test/test_pubsub.py        Sat Jan 02 22:43:45 2010 +0100
     208diff -r 4ae065e9ba2b wokkel/test/test_pubsub.py
     209--- a/wokkel/test/test_pubsub.py        Sat Jan 02 22:51:43 2010 +0100
     210+++ b/wokkel/test/test_pubsub.py        Sat Jan 02 22:52:17 2010 +0100
    211211@@ -24,6 +24,7 @@
    212212 NS_PUBSUB_EVENT = 'http://jabber.org/protocol/pubsub#event'
Note: See TracChangeset for help on using the changeset viewer.