[mythtv-commits] Ticket #12737: PyAPI: Missing Unpack step of tuple element for assignment of MythDBError.ecode

MythTV noreply at mythtv.org
Thu Apr 21 10:01:49 UTC 2016


#12737: PyAPI:  Missing Unpack step of tuple element for assignment of
MythDBError.ecode
-----------------------------------+-------------------------
     Reporter:  casey.mcginty@…    |      Owner:  wagnerrp
         Type:  Patch - Bug Fix    |     Status:  new
     Priority:  minor              |  Milestone:  unknown
    Component:  Bindings - Python  |    Version:  Unspecified
     Severity:  medium             |   Keywords:
Ticket locked:  0                  |
-----------------------------------+-------------------------
 In class MythDBError, the 'args' vars is a tuple. The assignment to
 self.ecode incorrectly assigned the tuple instead of assigning the
 first tuple element.

 Merge code fix at: https://github.com/cmcginty/mythtv/tree/fix-pyapi-
 exception

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12737>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list