git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
introduce option that allows limiting recording filename character set to legacy...
[enigma2.git]
/
lib
/
python
/
Components
/
Sources
/
Source.py
diff --git
a/lib/python/Components/Sources/Source.py
b/lib/python/Components/Sources/Source.py
index 77fcb55f001e84bdb55be384412bb339ae8025fb..ecd701394ee71304c4ad18789e83cba4b2b21406 100644
(file)
--- a/
lib/python/Components/Sources/Source.py
+++ b/
lib/python/Components/Sources/Source.py
@@
-1,5
+1,6
@@
-class Source(object):
+from Components.Element import Element
+class Source(Element):
def execBegin(self):
pass
def execBegin(self):
pass
@@
-14,3
+15,10
@@
class Source(object):
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
+