Mercurial > kallithea
diff rhodecode/lib/utils.py @ 549:f99075170eb4
more renames for rhode code !!
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 06 Oct 2010 03:34:18 +0200 |
parents | b75b77ef649d |
children | 2642f128ad46 |
line wrap: on
line diff
--- a/rhodecode/lib/utils.py Wed Oct 06 03:22:52 2010 +0200 +++ b/rhodecode/lib/utils.py Wed Oct 06 03:34:18 2010 +0200 @@ -26,7 +26,7 @@ from mercurial import ui, config, hg from mercurial.error import RepoError from rhodecode.model import meta -from rhodecode.model.db import Repository, User, HgAppUi, HgAppSettings, UserLog +from rhodecode.model.db import Repository, User, RhodeCodeUi, RhodeCodeSettings, UserLog from vcs.backends.base import BaseChangeset from vcs.utils.lazy import LazyProperty import logging @@ -127,7 +127,7 @@ def get_hg_ui_cached(): try: sa = meta.Session - ret = sa.query(HgAppUi).all() + ret = sa.query(RhodeCodeUi).all() finally: meta.Session.remove() return ret @@ -136,7 +136,7 @@ def get_hg_settings(): try: sa = meta.Session - ret = sa.query(HgAppSettings).all() + ret = sa.query(RhodeCodeSettings).all() finally: meta.Session.remove() @@ -151,7 +151,7 @@ def get_hg_ui_settings(): try: sa = meta.Session - ret = sa.query(HgAppUi).all() + ret = sa.query(RhodeCodeUi).all() finally: meta.Session.remove()