git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfdd918
)
add ObsoleteSource for compatibility redirects
author
Felix Domke
<tmbinc@elitedvb.net>
Sun, 23 Sep 2007 23:26:41 +0000
(23:26 +0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Sun, 23 Sep 2007 23:26:41 +0000
(23:26 +0000)
lib/python/Components/Sources/Source.py
patch
|
blob
|
history
diff --git
a/lib/python/Components/Sources/Source.py
b/lib/python/Components/Sources/Source.py
index 49bbdbcf7ff5b3e113150ae8eb062dea671c9d77..ecd701394ee71304c4ad18789e83cba4b2b21406 100644
(file)
--- 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
+