def babel_extract_qweb(fileobj, keywords, comment_tags, options):
 result = []
 def handle_text(text, lineno):
  result.append((lineno, None, text, []))
 tree = etree.parse(fileobj)
 _extract_translatable_qweb_terms(tree.getroot(), handle_text)
 return result

def babel_extract_qweb ( fileobj , keywords , comment_tags , options ) : result = [ ] def handle_text ( text , lineno ) : result . append ( ( lineno , None , text , [ ] ) ) tree = etree . parse ( fileobj ) _extract_translatable_qweb_terms ( tree . getroot ( ) , handle_text ) return result
babel message extractor for qweb template files .