tools/bdconfig/lib/google_hadoop/bdconfig_lib/xml_configuration.py
def Format(self):
        """Formats text. Only wraps descriptions."""
        if self._element.getElementsByTagName('*'):
          # Do not Destroy <envVars>
          return
        text = self.text.strip()
        if (len(text) > self._MAX_WIDTH - 27 - 2 * len(_INDENT) and
            self._element.nodeName == 'description'):
          text = '\n{0}\n{1}'.format(
              self._TEXT_WRAPPER.fill(text), 2 * _INDENT)
        self.text = text
Formats text. Only wraps descriptions.
Formats text. Only wraps descriptions.
Formats text . Only wraps descriptions .
def Format(self):
        if self._element.getElementsByTagName('*'):
          return
        text = self.text.strip()
        if (len(text) > self._MAX_WIDTH - 27 - 2 * len(_INDENT) and
            self._element.nodeName == 'description'):
          text = '\n{0}\n{1}'.format(
              self._TEXT_WRAPPER.fill(text), 2 * _INDENT)
        self.text = text
def Format ( self ) : if self . _element . getElementsByTagName ( '*' ) : return text = self . text . strip ( ) if ( len ( text ) > self . _MAX_WIDTH - 27 - 2 * len ( _INDENT ) and self . _element . nodeName == 'description' ) : text = '\n{0}\n{1}' . format ( self . _TEXT_WRAPPER . fill ( text ) , 2 * _INDENT ) self . text = text
Formats text.
Formats text .
"""Formats text. Only wraps descriptions.""" # Do not Destroy <envVars>
self