Kaydet (Commit) 945c17f5 authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Fix mailcap.py built-in test.

üst 6120ddb0
......@@ -239,14 +239,12 @@ def show(caps):
if not caps: caps = getcaps()
print("Mailcap entries:")
print()
ckeys = caps.keys()
ckeys.sort()
ckeys = sorted(caps)
for type in ckeys:
print(type)
entries = caps[type]
for e in entries:
keys = e.keys()
keys.sort()
keys = sorted(e)
for k in keys:
print(" %-15s" % k, e[k])
print()
......
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