summaryrefslogtreecommitdiff
path: root/monkey/monkey.py
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@araneo.org>2015-01-15 13:32:33 +0100
committerAleš Smodiš <aless@guru.si>2015-08-11 14:26:01 +0200
commit888ad29be0bfaaa9a361ec4cae3755b59b71dadb (patch)
tree74f7f0bd68f568c41c5ca40ec7e779c195fcdf10 /monkey/monkey.py
parent819ab10281c9bd6c000364c3a243959edd18abf7 (diff)
Use relative imports in monkey modules
Diffstat (limited to 'monkey/monkey.py')
-rwxr-xr-xmonkey/monkey.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/monkey/monkey.py b/monkey/monkey.py
index 42c81f4..8e805f5 100755
--- a/monkey/monkey.py
+++ b/monkey/monkey.py
@@ -8,13 +8,13 @@ import time
from termcolor import colored
-import db
-from action import parse
-from edits import classify_edits, clean_graph, edit_graph, get_edits_from_traces
-from graph import Node, graphviz
-from prolog.engine import PrologEngine
-from prolog.util import compose, decompose, map_vars, rename_vars, stringify
-from util import PQueue, Token, indent
+from . import db
+from .action import parse
+from .edits import classify_edits, clean_graph, edit_graph, get_edits_from_traces
+from .graph import Node, graphviz
+from .prolog.engine import PrologEngine
+from .prolog.util import compose, decompose, map_vars, rename_vars, stringify
+from .util import PQueue, Token, indent
# score a program (a list of lines) according to lines distribution
def score(program, lines):