diff --git a/rhodecode/lib/paster_commands/make_index.py b/rhodecode/lib/paster_commands/make_index.py --- a/rhodecode/lib/paster_commands/make_index.py +++ b/rhodecode/lib/paster_commands/make_index.py @@ -36,7 +36,7 @@ from shutil import rmtree from rhodecode.model.repo import RepoModel from rhodecode.lib.utils import BasePasterCommand, load_rcextensions -# fix rhodecode import +# Add location of top level folder to sys.path from os.path import dirname as dn rc_path = dn(dn(dn(os.path.realpath(__file__)))) sys.path.append(rc_path)