aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/Element.py
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2009-01-27 18:58:16 +0100
committerFelix Domke <tmbinc@elitedvb.net>2009-01-27 18:58:16 +0100
commit225bfe06cafe9cf403adf631731f5ae6574565e2 (patch)
tree046096c3d4e8e501c2a2b45339326e01bd250dec /lib/python/Components/Element.py
parentfdc322a811049c371bd7dbdb75192534cebd36c8 (diff)
parent09f66522e9f51ac8fc7921bd77ba36a9d9d3d4b3 (diff)
downloadenigma2-225bfe06cafe9cf403adf631731f5ae6574565e2.tar.gz
enigma2-225bfe06cafe9cf403adf631731f5ae6574565e2.zip
Merge branch 'master' of /home/tmbinc/enigma2-git
Diffstat (limited to 'lib/python/Components/Element.py')
-rw-r--r--lib/python/Components/Element.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/python/Components/Element.py b/lib/python/Components/Element.py
index 2af57793..f4a8f127 100644
--- a/lib/python/Components/Element.py
+++ b/lib/python/Components/Element.py
@@ -16,6 +16,13 @@ def cached(f):
return cache[name][1]
return wrapper
+class ElementError(Exception):
+ def __init__(self, message):
+ self.message = message
+
+ def __str__(self):
+ return self.message
+
class Element(object):
CHANGED_DEFAULT = 0 # initial "pull" state
CHANGED_ALL = 1 # really everything changed