def find_actions(namespace, action_prefix):
 _deprecated()
 actions = {}
 for (key, value) in iteritems(namespace):
  if key.startswith(action_prefix):
   actions[key[len(action_prefix):]] = analyse_action(value)
 return actions

def find_actions ( namespace , action_prefix ) : _deprecated ( ) actions = { } for ( key , value ) in iteritems ( namespace ) : if key . startswith ( action_prefix ) : actions [ key [ len ( action_prefix ) : ] ] = analyse_action ( value ) return actions
find all the actions in the namespace .