X-Git-Url: http://git.inspyration.org/?a=blobdiff_plain;f=npybabel.py;h=81cd6abf60ae6bee1fa1d78b0f5aa291818563c8;hb=bab4a5316c386e4b95e7bdd90a840e3b69551de8;hp=0a3c75025c9c7cc178aa3cb4c1b2cbfed7596ec1;hpb=4d12385eab0d00a5b87f8277a3c116a0e8138d71;p=odoo%2Fodoo.git diff --git a/npybabel.py b/npybabel.py index 0a3c750..81cd6ab 100755 --- a/npybabel.py +++ b/npybabel.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # EASY-INSTALL-ENTRY-SCRIPT: 'Babel==0.9.6','console_scripts','pybabel' __requires__ = 'Babel==0.9.6' import sys @@ -54,7 +54,7 @@ def extract_qweb(fileobj, keywords, comment_tags, options): for el in current_element: if "t-js" not in el.attrib and \ not ("t-jquery" in el.attrib and "t-operation" not in el.attrib) and \ - not ("t-trad" in el.attrib and el.attrib["t-trad"].strip() == "off"): + not ("t-translation" in el.attrib and el.attrib["t-translation"].strip() == "off"): handle_text(el.text) iter_elements(el) handle_text(el.tail)