Mercurial > kallithea
diff rhodecode/controllers/feed.py @ 4186:7e5f8c12a3fc kallithea-2.2.5-rebrand
First step in two-part process to rename directories to kallithea.
This first step is to change all references in the files where they refer
to the old directory name.
author | Bradley M. Kuhn <bkuhn@sfconservancy.org> |
---|---|
date | Wed, 02 Jul 2014 19:04:28 -0400 |
parents | ffd45b185016 |
children |
line wrap: on
line diff
--- a/rhodecode/controllers/feed.py Wed Jul 02 19:04:00 2014 -0400 +++ b/rhodecode/controllers/feed.py Wed Jul 02 19:04:28 2014 -0400 @@ -12,7 +12,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. """ -rhodecode.controllers.feed +kallithea.controllers.feed ~~~~~~~~~~~~~~~~~~~~~~~~~~ Feed controller for rhodecode @@ -32,12 +32,12 @@ from beaker.cache import cache_region, region_invalidate from webhelpers.feedgenerator import Atom1Feed, Rss201rev2Feed -from rhodecode.lib import helpers as h -from rhodecode.lib.auth import LoginRequired, HasRepoPermissionAnyDecorator -from rhodecode.lib.base import BaseRepoController -from rhodecode.lib.diffs import DiffProcessor, LimitedDiffContainer -from rhodecode.model.db import CacheInvalidation -from rhodecode.lib.utils2 import safe_int, str2bool, safe_unicode +from kallithea.lib import helpers as h +from kallithea.lib.auth import LoginRequired, HasRepoPermissionAnyDecorator +from kallithea.lib.base import BaseRepoController +from kallithea.lib.diffs import DiffProcessor, LimitedDiffContainer +from kallithea.model.db import CacheInvalidation +from kallithea.lib.utils2 import safe_int, str2bool, safe_unicode log = logging.getLogger(__name__) @@ -54,8 +54,8 @@ self.title = self.title = _('%s %s feed') % (c.rhodecode_name, '%s') self.language = 'en-us' self.ttl = "5" - import rhodecode - CONF = rhodecode.CONFIG + import kallithea + CONF = kallithea.CONFIG self.include_diff = str2bool(CONF.get('rss_include_diff', False)) self.feed_nr = safe_int(CONF.get('rss_items_per_page', 20)) # we need to protect from parsing huge diffs here other way