| Index: grit/format/android_xml.py
|
| diff --git a/grit/format/android_xml.py b/grit/format/android_xml.py
|
| index e835e9b9305a38d39b08d9bab7915e0be5f57a87..d960bf49ddb8f009575b36f3a146cd25edbef8f8 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.Preorder():
|
| + for item in root.ActiveDescendants():
|
| with item:
|
| if ShouldOutputNode(item, tagged_only):
|
| yield _FormatMessage(item, lang)
|
|
|