Commit c3fe6f45 authored by Georgios Gousios's avatar Georgios Gousios
Browse files

Include .. in PYTHON path in

We have to do this in order to fix namespace inconsistencies (files in
synnefo use imports starting with synnefo)
refs: #393
parent ee7ec75a
......@@ -53,6 +53,8 @@ go_to_ve()
from import execute_manager
import settings # Assumed to be in the same directory.
path = os.path.normpath(os.path.join(os.getcwd(), '..'))
except ImportError:
import sys
sys.stderr.write("Error: Can't find the file '' in the directory")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment