Changeset 57:0d8b6cf41728 in ralphm-patches for pubsub-default-type-attribute.patch


Ignore:
Timestamp:
Mar 28, 2012, 1:43:02 PM (9 years ago)
Author:
Ralph Meijer <ralphm@…>
Branch:
default
Message:

Wokkel 0.7.0 release, clean up various patches.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pubsub-default-type-attribute.patch

    r47 r57  
    11# HG changeset patch
    2 # Parent fc34b2a3eee92201a08dd633aeccf75724305c88
     2# Parent a1fb8edead3376a4c5ec2f75f1922aaf7af3c8c8
    33
    4 diff -r fc34b2a3eee9 wokkel/pubsub.py
    5 --- a/wokkel/pubsub.py  Mon Feb 28 09:28:29 2011 +0100
    6 +++ b/wokkel/pubsub.py  Mon Feb 28 09:31:16 2011 +0100
    7 @@ -385,12 +385,7 @@
     4diff -r a1fb8edead33 wokkel/pubsub.py
     5--- a/wokkel/pubsub.py  Wed Mar 28 13:31:48 2012 +0200
     6+++ b/wokkel/pubsub.py  Wed Mar 28 13:33:10 2012 +0200
     7@@ -424,12 +424,7 @@
    88         """
    99         Parse node type out of a request for the default node configuration.
    1010         """
    1111-        form = data_form.findForm(verbElement, NS_PUBSUB_NODE_CONFIG)
    12 -        if form and form.formType == 'submit':
     12-        if form is not None and form.formType == 'submit':
    1313-            values = form.getValues()
    1414-            self.nodeType = values.get('pubsub#node_type', 'leaf')
     
    1919 
    2020     def _parse_configure(self, verbElement):
    21 diff -r fc34b2a3eee9 wokkel/test/test_pubsub.py
    22 --- a/wokkel/test/test_pubsub.py        Mon Feb 28 09:28:29 2011 +0100
    23 +++ b/wokkel/test/test_pubsub.py        Mon Feb 28 09:31:16 2011 +0100
    24 @@ -1688,17 +1688,7 @@
     21diff -r a1fb8edead33 wokkel/test/test_pubsub.py
     22--- a/wokkel/test/test_pubsub.py        Wed Mar 28 13:31:48 2012 +0200
     23+++ b/wokkel/test/test_pubsub.py        Wed Mar 28 13:33:10 2012 +0200
     24@@ -1712,17 +1712,7 @@
    2525         <iq type='get' to='pubsub.example.org'
    2626                        from='user@example.org'>
     
    4141         </iq>
    4242         """
    43 @@ -2668,6 +2658,7 @@
     43@@ -2692,6 +2682,7 @@
    4444             return fieldDefs
    4545 
     
    4949                                   'x-myfield': '1'})
    5050 
    51 @@ -2701,17 +2692,7 @@
     51@@ -2725,17 +2716,7 @@
    5252         <iq type='get' to='pubsub.example.org'
    5353                        from='user@example.org'>
Note: See TracChangeset for help on using the changeset viewer.