(self, template)
return template
Process template content.  Drop multiple spaces in a row and strip
        it.
Process template content.  Drop multiple spaces in a row and strip
        it.
Process template content . Drop multiple spaces in a row and strip it .
def process_template(self, template):
        """Process template content.  Drop multiple spaces in a row and strip
        it.
        """
        template = re.sub(r'\s+', r' ', template)
        template = template.strip()
        return template
def process_template ( self , template ) : template = re . sub ( r'\s+' , r' ' , template ) template = template . strip ( ) return template