- global uwscfg
- if not type(action_list) == types.ListType):
- raise ValueError("runRandomAction: action_list must be a list")
- return executeAction(random.choice(action_list),user,args)
-
+ if not type(action_list) == types.ListType:
+ raise ValueError("runRandomAction: action_list must be a list")
+ return executeAction(random.choice(action_list),user,args)
+