Commit 5a508227 authored by Tres Seaver's avatar Tres Seaver

Avoid print-as-keyword.

parent 1b019545
...@@ -19,9 +19,9 @@ from persistent import Persistent ...@@ -19,9 +19,9 @@ from persistent import Persistent
def print_dict(d): def print_dict(d):
d = d.items() d = d.items()
d.sort() d.sort()
print '{%s}' % (', '.join( print('{%s}' % (', '.join(
[('%r: %r' % (k, v)) for (k, v) in d] [('%r: %r' % (k, v)) for (k, v) in d]
)) )))
def cmpattrs(self, other, *attrs): def cmpattrs(self, other, *attrs):
for attr in attrs: for attr in attrs:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment