Opened 11 years ago

Closed 11 years ago

#4697 closed defect (fixed)

MythDB scope error in python bindings

Reported by: Hadley Rich <hads@…> Owned by: Anduin Withers
Priority: minor Milestone: 0.21
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

in init.py we import all * from all the various modules for convinience. In MythTV.py and MythVideo?.py MythDB is imported as a module into the package global scope which then hides the MythDB class which was in the global scope.

This breaks find_meta.py and other things.

Patch attached.

Attachments (1)

mythtv_python_bindings_global_fix.diff (1.2 KB) - added by Hadley Rich <hads@…> 11 years ago.

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by Hadley Rich <hads@…>

comment:1 Changed 11 years ago by Anduin Withers

Milestone: unknown0.21
Owner: changed from Isaac Richards to Anduin Withers
Status: newassigned

comment:2 Changed 11 years ago by Anduin Withers

(In [16140]) References #4697, #4703

Fixes some indent and import problems. Thanks to Hadley Rich for finding and patching these.

comment:3 Changed 11 years ago by Anduin Withers

Resolution: fixed
Status: assignedclosed

(In [16342]) Closes #4697, #4703

Merges in [16140] from trunk.

Original commit message:

Fixes some indent and import problems. Thanks to Hadley Rich for finding and patching these.

Note: See TracTickets for help on using tickets.