1
1
# Copyright 2014 Canonical Ltd. This software is licensed under the
2
2
# GNU General Public License version 3 (see the file LICENSE).
18
15
from mojo.utils import chdir, is_config_line
21
20
# Make sure that the local mojo is importable
30
23
local_copy = os.path.join(os.path.dirname(os.path.dirname(__file__)), "..", "mojo")
31
24
if os.path.exists(local_copy) and os.path.isdir(local_copy):
32
25
sys.path.insert(0, local_copy)