summaryrefslogtreecommitdiff
path: root/monkey
diff options
context:
space:
mode:
Diffstat (limited to 'monkey')
-rwxr-xr-xmonkey/test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/monkey/test.py b/monkey/test.py
index 9eb91e1..71d8aa5 100755
--- a/monkey/test.py
+++ b/monkey/test.py
@@ -139,7 +139,7 @@ elif sys.argv[2] == 'info':
# Print all observed edits and their costs.
elif sys.argv[3] == 'edits':
- for (before, after), cost in sorted(edits.items(), key=lambda x: x[1]):
+ for (path, before, after), cost in sorted(edits.items(), key=lambda x: x[1]):
print(' {:.4f}\t{} → {}'.format(cost, stringify(before) if before else 'ε',
stringify(after) if after else 'ε'))
# Print all observed edits and their costs.