aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/Sources/Config.py
blob: b8939093841fd665765320e85cf35ab1175b7e72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from Source import Source

class Config(Source):
	def __init__(self, config):
		Source.__init__(self)
		self.__config = config

	def getConfig(self):
		return self.__config
	
	config = property(getConfig)

	def getHTML(self, id):
		print "getHTML", self, id
		return self.__config.getHTML(id)

	def handleCommand(self, cmd):
		print "ASSIGN:", cmd
		self.__config.unsafeAssign(cmd)