diff --git a/dotensime.py b/dotensime.py index 7ce3793..3e370b0 100644 --- a/dotensime.py +++ b/dotensime.py @@ -4,6 +4,7 @@ from sexp import key, sym from paths import * from sbt import * +from strings import * def locations(window): """Intelligently guess the appropriate .ensime file locations for the diff --git a/ensime.py b/ensime.py index 9b892d6..6a556b4 100644 --- a/ensime.py +++ b/ensime.py @@ -14,6 +14,7 @@ from paths import * from rpc import * from sbt import * +from strings import * class EnsimeCommon(object): def __init__(self, owner): @@ -74,7 +75,7 @@ def log_on_ui_thread(self, flavor, data): exc_type, exc_value, exc_tb = sys.exc_info() detailed_info = "".join(traceback.format_exception(exc_type, exc_value, exc_tb)) print detailed_info - + def prepare_log_message(self, data): buffer = "["+str(datetime.datetime.now())+"]: " buffer += encode_if_unicode(data.strip())