Index: pylib/gyp/xml_fix.py |
diff --git a/pylib/gyp/xml_fix.py b/pylib/gyp/xml_fix.py |
index 5de848158d28997db6f8558954b194933dad2ad3..4308d99b47c3c6aa37b3ca0e3d1e32bcd057e4c8 100644 |
--- a/pylib/gyp/xml_fix.py |
+++ b/pylib/gyp/xml_fix.py |
@@ -32,8 +32,7 @@ def _Replacement_writexml(self, writer, indent="", addindent="", newl=""): |
writer.write(indent+"<" + self.tagName) |
attrs = self._get_attributes() |
- a_names = attrs.keys() |
- a_names.sort() |
+ a_names = sorted(attrs.keys()) |
for a_name in a_names: |
writer.write(" %s=\"" % a_name) |