Mercurial > kallithea
diff rhodecode/lib/celerylib/__init__.py @ 2524:9d4b80743a2a beta
New repo model create function
- fixed some sessions calls
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 01 Jul 2012 15:47:54 +0200 |
parents | e2dbdaf13562 |
children | 63e58ef80ef1 301268606429 |
line wrap: on
line diff
--- a/rhodecode/lib/celerylib/__init__.py Sun Jul 01 12:45:21 2012 +0200 +++ b/rhodecode/lib/celerylib/__init__.py Sun Jul 01 15:47:54 2012 +0200 @@ -112,7 +112,7 @@ if CELERY_ON: engine = engine_from_config(config, 'sqlalchemy.db1.') init_model(engine) - sa = meta.Session + sa = meta.Session() return sa