aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/Converter/StaticText.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components/Converter/StaticText.py')
-rw-r--r--lib/python/Components/Converter/StaticText.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/python/Components/Converter/StaticText.py b/lib/python/Components/Converter/StaticText.py
new file mode 100644
index 00000000..12eb6ad5
--- /dev/null
+++ b/lib/python/Components/Converter/StaticText.py
@@ -0,0 +1,7 @@
+from Components.Converter.Converter import Converter
+
+class StaticText(Converter, object):
+ def __init__(self, text, *args, **kwargs):
+ Converter.__init__(self)
+ self.text = str(text)
+