From 187a8740940ee8cbd0ae620451212e707b9f06b2 Mon Sep 17 00:00:00 2001 From: Ruud Date: Sun, 8 Jan 2012 10:35:24 +0100 Subject: [PATCH] With statement --- couchpotato/core/downloaders/blackhole/main.py | 1 + couchpotato/core/settings/__init__.py | 1 + 2 files changed, 2 insertions(+) diff --git a/couchpotato/core/downloaders/blackhole/main.py b/couchpotato/core/downloaders/blackhole/main.py index e7731943..ff96deda 100644 --- a/couchpotato/core/downloaders/blackhole/main.py +++ b/couchpotato/core/downloaders/blackhole/main.py @@ -1,3 +1,4 @@ +from __future__ import with_statement from couchpotato.core.downloaders.base import Downloader from couchpotato.core.logger import CPLog import os diff --git a/couchpotato/core/settings/__init__.py b/couchpotato/core/settings/__init__.py index 10b2a14d..539372a3 100644 --- a/couchpotato/core/settings/__init__.py +++ b/couchpotato/core/settings/__init__.py @@ -1,3 +1,4 @@ +from __future__ import with_statement from couchpotato.api import addApiView from couchpotato.core.event import addEvent, fireEvent from couchpotato.core.helpers.encoding import isInt, toUnicode