Mercurial > kallithea
comparison pylons_app/lib/indexers/daemon.py @ 407:0c9dfae57107
fixed path issue
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 18 Aug 2010 00:02:21 +0200 |
parents | b153a51b1d3b |
children | 9b67cebe6609 |
comparison
equal
deleted
inserted
replaced
406:b153a51b1d3b | 407:0c9dfae57107 |
---|---|
30 | 30 |
31 from os.path import dirname as dn | 31 from os.path import dirname as dn |
32 from os.path import join as jn | 32 from os.path import join as jn |
33 | 33 |
34 #to get the pylons_app import | 34 #to get the pylons_app import |
35 sys.path.append(dn(dn(dn(os.path.realpath(__file__))))) | 35 sys.path.append(dn(dn(dn(dn(os.path.realpath(__file__)))))) |
36 | 36 |
37 from pylons_app.config.environment import load_environment | 37 from pylons_app.config.environment import load_environment |
38 from pylons_app.model.hg_model import HgModel | 38 from pylons_app.model.hg_model import HgModel |
39 from whoosh.index import create_in, open_dir | 39 from whoosh.index import create_in, open_dir |
40 from shutil import rmtree | 40 from shutil import rmtree |