(self, variation)
return os.path.join(self._language, path)
Returns the path to template dir for the selected variation.

    By default, the path is the same as the variation name. It can be
    overridden in two ways, of descending precedence:
      1. by the 'releaseVersion' element, if use_versioned_paths is set.
      2. with an explicit 'path' statement.

    Args:
      variation: (str) A target variation name.
    Returns:
      (str) Relative path to template directory.
Returns the path to template dir for the selected variation.
Returns the path to template dir for the selected variation .
def _RelativeTemplateDir(self, variation):
    """Returns the path to template dir for the selected variation.

    By default, the path is the same as the variation name. It can be
    overridden in two ways, of descending precedence:
      1. by the 'releaseVersion' element, if use_versioned_paths is set.
      2. with an explicit 'path' statement.

    Args:
      variation: (str) A target variation name.
    Returns:
      (str) Relative path to template directory.
    """
    if self._targets.use_versioned_paths:
      path = self[variation].get('releaseVersion') or variation
    else:
      path = None
    if not path:
      path = self.get(variation, {}).get('path') or variation
    return os.path.join(self._language, path)
def _RelativeTemplateDir ( self , variation ) : if self . _targets . use_versioned_paths : path = self [ variation ] . get ( 'releaseVersion' ) or variation else : path = None if not path : path = self . get ( variation , { } ) . get ( 'path' ) or variation return os . path . join ( self . _language , path )