summaryrefslogtreecommitdiff
path: root/npybabel.py
diff options
context:
space:
mode:
authorVidhin Mehta (OpenERP) <vme@tinyerp.com>2012-06-15 14:20:27 +0530
committerVidhin Mehta (OpenERP) <vme@tinyerp.com>2012-06-15 14:20:27 +0530
commite76a800f90c74d86e16a6265e49569fc5f3e7a69 (patch)
tree5addf4641b41bc73f51f40b44c8e9f475febafaf /npybabel.py
parentfef0b4f52b0bd3803b2ae5764146bc7381e280ef (diff)
[IMP]add attr in npybabel.py.
bzr revid: vme@tinyerp.com-20120615085027-z08zieqvr0v8br4j
Diffstat (limited to 'npybabel.py')
-rwxr-xr-xnpybabel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/npybabel.py b/npybabel.py
index 93ff5bcb9dc..3b776857282 100755
--- a/npybabel.py
+++ b/npybabel.py
@@ -107,7 +107,7 @@ def extract_qweb(fileobj, keywords, comment_tags, options):
not ("t-jquery" in el.attrib and "t-operation" not in el.attrib) and \
not ("t-translation" in el.attrib and el.attrib["t-translation"].strip() == "off"):
handle_text(el.text, el.sourceline)
- for att in ('title', 'alt', 'label'):
+ for att in ('title', 'alt', 'label','placeholder'):
if att in el.attrib:
handle_text(el.attrib[att], el.sourceline)
iter_elements(el)