[mythtv-commits] Ticket #8660: MythTV Python Bindings - Config Variable Not Set

MythTV mythtv at cvs.mythtv.org
Fri Jul 16 01:20:52 UTC 2010


#8660: MythTV Python Bindings - Config Variable Not Set
-------------------------------------+--------------------------------------
 Reporter:  erik@…                   |       Owner:  wagnerrp  
     Type:  defect                   |      Status:  new       
 Priority:  major                    |   Milestone:  unknown   
Component:  Bindings - Python        |     Version:  Trunk Head
 Severity:  medium                   |     Mlocked:  0         
-------------------------------------+--------------------------------------
 When calling the following

 db = MythDB(SecurityPin=1234)

 You get the following error ..

 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "mythtv/database.py", line 908, in __init__
     self._writeXML(dbconn)
   File "mythtv/database.py", line 982, in _writeXML
     fp.write(config)
 NameError: global name 'config' is not defined

 Attached is a patch to fix the issue.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/8660>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list