diff options
-rw-r--r-- | grit/format/android_xml.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grit/format/android_xml.py b/grit/format/android_xml.py index d960bf4..e835e9b 100644 --- a/grit/format/android_xml.py +++ b/grit/format/android_xml.py @@ -112,7 +112,7 @@ def Format(root, lang='en', output_dir='.'): raise Exception('env variable ANDROID_JAVA_TAGGED_ONLY must have value ' 'true or false. Invalid value: %s' % tagged_only) - for item in root.ActiveDescendants(): + for item in root.Preorder(): with item: if ShouldOutputNode(item, tagged_only): yield _FormatMessage(item, lang) |