Ticket #8403: mythtv_python2.5_with_fix.1.patch

File mythtv_python2.5_with_fix.1.patch, 1.4 KB (added by Mark Spieth, 16 years ago)
  • mythtv/bindings/python/MythTV/MythBase.py

    commit e3a147d24b37d4d9af37faf45ee4602b5771c9a4
    Author: Mark Spieth <mspieth@digivation.com.au>
    Date:   Fri Apr 30 16:56:38 2010 +1000
    
        Initializing audio parms from " fix with issues with python 2.56
    
    diff --git a/mythtv/bindings/python/MythTV/MythBase.py b/mythtv/bindings/python/MythTV/MythBase.py
    index 87d519f..670f505 100755
    a b  
    44Provides base classes for accessing MythTV
    55"""
    66
     7from __future__ import with_statement
    78from MythStatic import *
    89
    910import os
    from thread import start_new_thread, allocate_lock  
    2223from select import select
    2324from uuid import uuid4
    2425
     26
    2527import MySQLdb, MySQLdb.cursors
    2628MySQLdb.__version__ = tuple([v for v in MySQLdb.__version__.split('.')])
    2729
  • mythtv/bindings/python/MythTV/wikiscripts/wikiscripts.py

    diff --git a/mythtv/bindings/python/MythTV/wikiscripts/wikiscripts.py b/mythtv/bindings/python/MythTV/wikiscripts/wikiscripts.py
    index f54d1ab..3021a05 100644
    a b  
    22# -*- coding: UTF-8 -*-
    33#----------------------
    44
     5from __future__ import with_statement
    56from urllib import urlopen
    67from time import time
    78from thread import start_new_thread, allocate_lock
    89from time import sleep, time
    910from MythTV import QuickDictData
     11
    1012import cPickle
    1113import os
    1214