Ticket #8743: mythtv_python2.5_with_fix.2.patch
File mythtv_python2.5_with_fix.2.patch, 600 bytes (added by , 14 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 1 1 # -*- coding: utf-8 -*- 2 2 """Provides managed logging.""" 3 3 4 from __future__ import with_statement 5 4 6 from static import LOGLEVEL 5 7 6 8 from sys import version_info, stdout