diff --git a/rhodecode/lib/paster_commands/cache_keys.py b/rhodecode/lib/paster_commands/cache_keys.py --- a/rhodecode/lib/paster_commands/cache_keys.py +++ b/rhodecode/lib/paster_commands/cache_keys.py @@ -34,7 +34,7 @@ from rhodecode.model.meta import Session from rhodecode.lib.utils import BasePasterCommand from rhodecode.model.db import CacheInvalidation -# 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)