Ticket #8743: mythtv_python2.5_with_fix.2.patch

File mythtv_python2.5_with_fix.2.patch, 600 bytes (added by Mark Spieth, 11 years ago)
  • mythtv/bindings/python/MythTV/logging.py

    python compat for 2.5 with statement
    
    From: Mark Spieth <mspieth@digivation.com.au>
    
    
    ---
     mythtv/bindings/python/MythTV/logging.py |    2 ++
     1 files changed, 2 insertions(+), 0 deletions(-)
    
    diff --git a/mythtv/bindings/python/MythTV/logging.py b/mythtv/bindings/python/MythTV/logging.py
    index c6c7b82..0c684df 100644
    a b  
    11# -*- coding: utf-8 -*-
    22"""Provides managed logging."""
    33
     4from __future__ import with_statement
     5
    46from static import LOGLEVEL
    57
    68from sys import version_info, stdout