diff options
Diffstat (limited to 'monkey/prolog')
-rw-r--r-- | monkey/prolog/engine.py | 4 | ||||
-rw-r--r-- | monkey/prolog/util.py | 4 |
2 files changed, 1 insertions, 7 deletions
diff --git a/monkey/prolog/engine.py b/monkey/prolog/engine.py index 432ff79..e73ea54 100644 --- a/monkey/prolog/engine.py +++ b/monkey/prolog/engine.py @@ -5,10 +5,8 @@ import json import re import urllib -address, port = 'localhost', 3030 - class PrologEngine(object): - def __init__(self, address=address, port=port, code='', destroy=False, id=None): + def __init__(self, address='localhost', port=3030, code='', destroy=False, id=None): self.conn = http.client.HTTPConnection(address, port, timeout=10) # If existing engine ID is given, use it. diff --git a/monkey/prolog/util.py b/monkey/prolog/util.py index 05505d0..46f6c5c 100644 --- a/monkey/prolog/util.py +++ b/monkey/prolog/util.py @@ -1,9 +1,5 @@ #!/usr/bin/python3 -import itertools -import math -import re - from .lexer import lexer from ..util import Token |