diff options
author | Timotej Lazar <timotej.lazar@araneo.org> | 2015-02-04 18:17:03 +0100 |
---|---|---|
committer | Aleš Smodiš <aless@guru.si> | 2015-08-11 14:26:01 +0200 |
commit | 6a104bf8e2baea162d7f9f1d439dd8f671ddd413 (patch) | |
tree | dcff17886abf0db6c01107f8a202f344a4e98bfe /monkey/monkey.py | |
parent | 127bc6d1c3169a80c735b01588c968b85d2df944 (diff) |
Clean up monkey.prolog.util
Diffstat (limited to 'monkey/monkey.py')
-rwxr-xr-x | monkey/monkey.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/monkey/monkey.py b/monkey/monkey.py index cae42ae..47bca5c 100755 --- a/monkey/monkey.py +++ b/monkey/monkey.py @@ -31,10 +31,7 @@ def fix(name, code, edits, aux_code='', timeout=30, debug=False): if line_idx < start_line: continue line = lines[line_idx] - - line_normal = list(line) - rename_vars(line_normal) - line_normal = tuple(line_normal) + line_normal = tuple(rename_vars(line)) seen = False # Apply each edit that matches this line. |