projects
/
vuplus_dvbapp
/ 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
49bbdbc
..
ecd7013
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()
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
+