tools/cr/cr/plugin.py
def default(cls):
    """Returns the plugin that should be used if the user did not choose one."""
    result = None
    for plugin in cls.UnorderedPlugins():
      if not result or plugin.priority > result.priority:
        result = plugin
    return result
Returns the plugin that should be used if the user did not choose one.
Returns the plugin that should be used if the user did not choose one.
Returns the plugin that should be used if the user did not choose one .
def default(cls):
    result = None
    for plugin in cls.UnorderedPlugins():
      if not result or plugin.priority > result.priority:
        result = plugin
    return result
def default ( cls ) : result = None for plugin in cls . UnorderedPlugins ( ) : if not result or plugin . priority > result . priority : result = plugin return result
Returns the plugin that should be used if the user did not choose one.
Returns the plugin that should be used if the user did not choose one .
"""Returns the plugin that should be used if the user did not choose one."""
cls