[mythtv-commits] mythtv/master commit: c542f3f7c by Raymond Wagner (wagnerrp)

MythTV noreply at mythtv.org
Wed Mar 9 18:08:49 UTC 2011


      Author:  Raymond Wagner <rwagner at mythtv.org>
 Change Date:  2011-03-09T10:04:27-08:00
   Push Date:  2011/03/09 10:08:46 -0800
  Repository:  mythtv
      Branch:  master
New Revision:  c542f3f7cdb0ddf91982a79efcfa33497231e979
   Changeset:  https://github.com/MythTV/mythtv/commit/c542f3f7c

Log:

Updates XMLConnection and MythXML for support of the rewritten
interface.  The _query, _queryObject, and _queryTree methods have been
removed in favor of a _request, which returns a modified urllib2.Request
object.  The Request object can accept additional headers or post data,
and offers the following additional methods:

    open()     - return a file object to the response
    read()     - return the response as a text string
    readXML()  - return the response processed using XML etree
    readJSON() - return the response processed as JSON data

refs #9646

Modified:

   mythtv/bindings/python/MythTV/connections.py
   mythtv/bindings/python/MythTV/dataheap.py
   mythtv/bindings/python/MythTV/methodheap.py
   mythtv/bindings/python/MythTV/mythproto.py
   mythtv/bindings/python/MythTV/utility.py



More information about the mythtv-commits mailing list