return runRemoteCommand(uwscfg.getValue(action_name+"_remote_host"), uwscfg.getValue(action_name+"_remote_shell"), args)
elif action_type == "shellcmd":
return runShellCommand(cmd=uwscfg.getValue(action_name+"_cmd"), ptimeout=uwscfg.getValue(action_name+"_timeout"), stdinput=uwscfg.getValue(action_name+"_stdinput"), args=args)
+ elif action_type == "nothing":
+ return True
else:
return executeAction(action_type,args)
if config is None:
config=uwscfg.getValue("mapping_default")
logging.debug("playThemeOf: action for user %s: %s" % (user,config))
- executeAction(config)
+ executeAction(config,[])
def popenTimeout1(cmd, pinput, returncode_ok=[0], ptimeout = 20.0, pcheckint = 0.25):
logging.debug("popenTimeout1: starting: " + cmd)