# HG changeset patch # User Marcin Kuzminski # Date 2017-07-13 10:32:59 # Node ID 3fcf87f09aca8ee9bbdba898077db3a284526822 # Parent e3a562350d32737163c1503cc1bed3618744450f pyramid: don't use pylons translation string in db models. diff --git a/rhodecode/model/db.py b/rhodecode/model/db.py --- a/rhodecode/model/db.py +++ b/rhodecode/model/db.py @@ -44,9 +44,9 @@ from sqlalchemy.sql.expression import tr from beaker.cache import cache_region from zope.cachedescriptors.property import Lazy as LazyProperty -from pylons.i18n.translation import lazy_ugettext as _ from pyramid.threadlocal import get_current_request +from rhodecode.translation import _ from rhodecode.lib.vcs import get_vcs_instance from rhodecode.lib.vcs.backends.base import EmptyCommit, Reference from rhodecode.lib.utils2 import (