[mythtv-commits] mythtv branch master updated by wagnerrp. v0.26-pre-197-ga2f0333

Git Repo Owner noreply at mythtv.org
Mon May 7 00:30:02 UTC 2012


The branch, master has been updated on the
mythtv repository by gitolite user wagnerrp.
       via  a2f0333714242dbd8fb0f24c84f0d5dccbf3c4b4 (commit)
      from  3cf139e762ca68af3408aea2b38e7e934933e112 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a2f0333714242dbd8fb0f24c84f0d5dccbf3c4b4
Author:    Raymond Wagner <rwagner at mythtv.org> at Sun, 6 May 2012 20:24:29 -0400
Committer: Raymond Wagner <rwagner at mythtv.org> at Sun, 6 May 2012 20:24:29 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=a2f0333714242dbd8fb0f24c84f0d5dccbf3c4b4

Update Python bindings to use the new config.xml format.
This creates a new DatabaseConfig class to manage access credentials for
the database, moving it out of DBCache.  DBCache (and MythDB) will still
continue to take the same arguments it did previously.  Both the old and
new format are supported, and old format files will be rewritten upon
successful connection to the database.  Files are now properly
pretty-printed when created.

This also converts everything over to absolute importing.

Fixes #10692.



-----------------------------------------------------------------------

Summary of changes:
 mythtv/bindings/python/MythTV/_conn_mysqldb.py |   14 +-
 mythtv/bindings/python/MythTV/_conn_oursql.py  |   14 +-
 mythtv/bindings/python/MythTV/altdict.py       |    4 +-
 mythtv/bindings/python/MythTV/connections.py   |   31 +-
 mythtv/bindings/python/MythTV/database.py      |  450 +++++++++++++++++-------
 mythtv/bindings/python/MythTV/dataheap.py      |   14 +-
 mythtv/bindings/python/MythTV/exceptions.py    |    2 +-
 mythtv/bindings/python/MythTV/logging.py       |    4 +-
 mythtv/bindings/python/MythTV/methodheap.py    |   18 +-
 mythtv/bindings/python/MythTV/msearch.py       |    4 +-
 mythtv/bindings/python/MythTV/mythproto.py     |   18 +-
 mythtv/bindings/python/MythTV/static.py        |    2 +-
 mythtv/bindings/python/MythTV/system.py        |   10 +-
 mythtv/bindings/python/MythTV/utility.py       |   34 ++-
 14 files changed, 417 insertions(+), 202 deletions(-)

-- 



More information about the mythtv-commits mailing list