comparison pylons_app/lib/indexers/__init__.py @ 497:fb0c3af6031b celery

Implemented locking for task, to prevent for running the same tasks, moved out pidlock library. Added dirsize display
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 23 Sep 2010 01:08:33 +0200
parents 149940ba96d9
children
comparison
equal deleted inserted replaced
496:47f4c7ff245b 497:fb0c3af6031b
1 from os.path import dirname as dn, join as jn 1 from os.path import dirname as dn, join as jn
2 from pidlock import LockHeld, DaemonLock
3 from pylons_app.config.environment import load_environment 2 from pylons_app.config.environment import load_environment
4 from pylons_app.model.hg_model import HgModel 3 from pylons_app.model.hg_model import HgModel
5 from shutil import rmtree 4 from shutil import rmtree
6 from webhelpers.html.builder import escape 5 from webhelpers.html.builder import escape
7 from vcs.utils.lazy import LazyProperty 6 from vcs.utils.lazy import LazyProperty