diff options
author | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2016-01-11 17:27:10 +0100 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2016-01-11 17:27:10 +0100 |
commit | 740e128bb32075279dd62c677b27c645805cb5e2 (patch) | |
tree | 48fb1514c6f5f330b693851655778d10dfad13d7 /monkey/__init__.py | |
parent | 9482cbd8644da8999051a7a6d892abb046f8d49a (diff) |
For each edit remember the user ids where it was seen
Diffstat (limited to 'monkey/__init__.py')
-rw-r--r-- | monkey/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/monkey/__init__.py b/monkey/__init__.py index ec09e62..83ea215 100644 --- a/monkey/__init__.py +++ b/monkey/__init__.py @@ -30,7 +30,7 @@ def fix(code, edits, test, timeout=30, debug=False): for part, range_path in interesting_ranges(program): names = {} part_normal = tuple(rename_vars_list(part, names)) - for (path, a, b), p in edits.items(): + for (path, a, b), (p, uids) in edits.items(): if path == range_path and a == part_normal: reverse_names = {v: k for k, v in names.items()} b_real = tuple(rename_vars(b, reverse_names)) |