示例#1
0
文件: qSite.py 项目: SmartTeleMax/qps
 def getWriterClass(self, writerClassName):
     """Return class of maker with name writerClassName.  Name must be a
     valid attribute of site or in form <ModuleName>.<ClassName>"""
     return qUtils.importObject(writerClassName, self)
示例#2
0
文件: qSite.py 项目: SmartTeleMax/qps
 def getStreamClass(self, streamClassName):
     """Return class of stream with name streamClassName.  Name must be a
     valid attribute of site or in form <ModuleName>.<ClassName>"""
     return qUtils.importObject(streamClassName, self)