revert local change
[enigma2.git] / lib / python / Components / Sources / Config.py
1 from Source import Source
2
3 class Config(Source):
4         def __init__(self, config):
5                 Source.__init__(self)
6                 self.__config = config
7
8         def getConfig(self):
9                 return self.__config
10         
11         config = property(getConfig)
12
13         def getHTML(self, id):
14                 print "getHTML", self, id
15                 return self.__config.getHTML(id)
16
17         def handleCommand(self, cmd):
18                 print "ASSIGN:", cmd
19                 self.__config.unsafeAssign(cmd)