Opened 14 years ago

Closed 14 years ago

#2151 closed defect (fixed)

mythburn.py has two routines named createVideoChapters

Reported by: spin667@… Owned by: paulh
Priority: minor Milestone: unknown
Component: mytharchive Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Maybe python is supposed to be able to pick the right routine based on the number of parameters but on the version of python on my system (2.4.1-2, FC4) it doesn't work.

It seems to accept the second version of the two defined createVideoChapters() and any attempt to call the four parameter version results in an error.

In any case, this patch just changes the two parameter version to createVideoChaptersFixedLength and updates the few places that called it.

Attachments (1)

mythburn-createVideoChapters-collide.diff (1.5 KB) - added by spin667@… 14 years ago.

Download all attachments as: .zip

Change History (2)

Changed 14 years ago by spin667@…

comment:1 Changed 14 years ago by paulh

Resolution: fixed
Status: newclosed

(In [10749]) Close #2151 by applying the patch. Python doesn't like overloaded function names.

Note: See TracTickets for help on using tickets.