Mercurial > kallithea
diff rhodecode/lib/paster_commands/make_rcextensions.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 | e9f6b533a8f6 |
children |
line wrap: on
line diff
--- a/rhodecode/lib/paster_commands/make_rcextensions.py Wed Jul 02 19:04:00 2014 -0400 +++ b/rhodecode/lib/paster_commands/make_rcextensions.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.lib.paster_commands.make_rcextensions +kallithea.lib.paster_commands.make_rcextensions ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make-rcext paster command for RhodeCode @@ -31,7 +31,7 @@ import logging import pkg_resources -from rhodecode.lib.utils import BasePasterCommand, ask_ok +from kallithea.lib.utils import BasePasterCommand, ask_ok # Add location of top level folder to sys.path from os.path import dirname as dn @@ -66,7 +66,7 @@ here = config['here'] tmpl = pkg_resources.resource_string( - 'rhodecode', os.path.join('config', 'rcextensions', '__init__.py') + 'kallithea', os.path.join('config', 'rcextensions', '__init__.py') ) ext_file = os.path.join(here, 'rcextensions', '__init__.py') if os.path.exists(ext_file):