(self, template_dir)
Sets the template directory tree to use for WalkTemplateTree.

    Args:
      template_dir: (str) Path to template tree. If it is an absolute path it
        will be used directly. If relative, it is taken relative to the source
        tree.
Sets the template directory tree to use for WalkTemplateTree.
Sets the template directory tree to use for WalkTemplateTree .
def SetTemplateDir(self, template_dir):
    """Sets the template directory tree to use for WalkTemplateTree.

    Args:
      template_dir: (str) Path to template tree. If it is an absolute path it
        will be used directly. If relative, it is taken relative to the source
        tree.
    """
    if template_dir.startswith('/'):
      self._template_dir = template_dir
    else:
      self._template_dir = os.path.join(self._template_dir, template_dir)
def SetTemplateDir ( self , template_dir ) : if template_dir . startswith ( '/' ) : self . _template_dir = template_dir else : self . _template_dir = os . path . join ( self . _template_dir , template_dir )