Mercurial > kallithea
diff rhodecode/lib/celerylib/tasks.py @ 1337:37625d304a16 beta
Changed OrderedDict implementation to pypy odict, in general it's the fastest and most reliable solution. Added OrderedTuple from python foundation.
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 15 May 2011 18:18:00 +0200 |
parents | f0e904651f21 |
children | ed309b1fbaa4 |
line wrap: on
line diff
--- a/rhodecode/lib/celerylib/tasks.py Sun May 15 13:49:14 2011 +0200 +++ b/rhodecode/lib/celerylib/tasks.py Sun May 15 18:18:00 2011 +0200 @@ -41,7 +41,8 @@ __get_lockkey, LockHeld, DaemonLock from rhodecode.lib.helpers import person from rhodecode.lib.smtp_mailer import SmtpMailer -from rhodecode.lib.utils import OrderedDict, add_cache +from rhodecode.lib.utils import add_cache +from rhodecode.lib.odict import OrderedDict from rhodecode.model import init_model from rhodecode.model import meta from rhodecode.model.db import RhodeCodeUi, Statistics, Repository