OSDN Git Service

AAPT2 tools: Fix logging in resource file fixer
authorAdam Lesinski <adamlesinski@google.com>
Tue, 30 Aug 2016 20:11:40 +0000 (13:11 -0700)
committerAdam Lesinski <adamlesinski@google.com>
Tue, 30 Aug 2016 22:07:50 +0000 (15:07 -0700)
Change-Id: I5113012229005c94e466f43a30932ebdc74d76fc

tools/aapt2/tools/consumers/duplicates.py

index c27979a..4f70b6c 100644 (file)
@@ -37,7 +37,7 @@ class DuplicateRemover:
         output_lines = []
         current_line = ""
         for definition in duplicates:
-            print "{0}: removing duplicate resource '{3}'".format( xml_path, definition.name)
+            print "{0}: removing duplicate resource '{1}'".format(xml_path, definition.name)
 
             if last_line_no < definition.start[0]:
                 # The next definition is on a new line, so write what we have