def __init__(self): Dispatcher.__init__(self) self.msg_list = {} mode = wm_envholder.props_manager.get_property(COMMAND_LINE, 'mode') if(mode != None and mode == "product"): self.PRODUCT_MODE = True else: self.PRODUCT_MODE = False print "PRODUCT_MODE:", self.PRODUCT_MODE
def __init__(self): Dispatcher.__init__(self)