commit | ac1b4359467ca3deab03186a15eae1d55eb35567 | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Wed Nov 27 04:15:34 2013 -0500 |
committer | Behdad Esfahbod <behdad@behdad.org> | Wed Nov 27 04:15:34 2013 -0500 |
tree | f78544837f4a9576c082c3ed16fdecc7a831dcdd | |
parent | c2e2e835ec4af747397e3aa1d6c3bb1c8bf021ea [diff] [blame] |
2to3 --fix=idioms
diff --git a/Lib/fontTools/misc/xmlWriter.py b/Lib/fontTools/misc/xmlWriter.py index 52d9a5c..9246255 100644 --- a/Lib/fontTools/misc/xmlWriter.py +++ b/Lib/fontTools/misc/xmlWriter.py
@@ -108,8 +108,7 @@ def stringifyattrs(self, *args, **kwargs): if kwargs: assert not args - attributes = kwargs.items() - attributes.sort() + attributes = sorted(kwargs.items()) elif args: assert len(args) == 1 attributes = args[0]