diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2007-09-23 23:26:41 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2007-09-23 23:26:41 +0000 |
| commit | c62a259bfa8d576c05e7ac6bd1b978340f30135b (patch) | |
| tree | a6e94aa751359a40134d4a930390fb2eeecac784 /lib/python | |
| parent | bfdd918c4fb4208011480a3e5ab3f6a4a9206c63 (diff) | |
| download | enigma2-c62a259bfa8d576c05e7ac6bd1b978340f30135b.tar.gz enigma2-c62a259bfa8d576c05e7ac6bd1b978340f30135b.zip | |
add ObsoleteSource for compatibility redirects
Diffstat (limited to 'lib/python')
| -rw-r--r-- | lib/python/Components/Sources/Source.py | 7 |
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 + |
