aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2007-09-23 23:26:41 +0000
committerFelix Domke <tmbinc@elitedvb.net>2007-09-23 23:26:41 +0000
commitc62a259bfa8d576c05e7ac6bd1b978340f30135b (patch)
treea6e94aa751359a40134d4a930390fb2eeecac784
parentbfdd918c4fb4208011480a3e5ab3f6a4a9206c63 (diff)
downloadenigma2-c62a259bfa8d576c05e7ac6bd1b978340f30135b.tar.gz
enigma2-c62a259bfa8d576c05e7ac6bd1b978340f30135b.zip
add ObsoleteSource for compatibility redirects
-rw-r--r--lib/python/Components/Sources/Source.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/python/Components/Sources/Source.py b/lib/python/Components/Sources/Source.py
index 49bbdbcf..ecd70139 100644
--- a/lib/python/Components/Sources/Source.py
+++ b/lib/python/Components/Sources/Source.py
@@ -15,3 +15,10 @@ class Source(Element):
def destroy(self):
self.__dict__.clear()
+
+class ObsoleteSource(Source):
+ def __init__(self, new_source, description = None, removal_date = "as soon as possible"):
+ self.new_source = new_source
+ self.description = description
+ self.removal_date = removal_date
+