comparison rhodecode/lib/paster_commands/ishell.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
comparison
equal deleted inserted replaced
4185:aaa7c3331186 4186:7e5f8c12a3fc
10 # GNU General Public License for more details. 10 # GNU General Public License for more details.
11 # 11 #
12 # You should have received a copy of the GNU General Public License 12 # You should have received a copy of the GNU General Public License
13 # along with this program. If not, see <http://www.gnu.org/licenses/>. 13 # along with this program. If not, see <http://www.gnu.org/licenses/>.
14 """ 14 """
15 rhodecode.lib.paster_commands.ishell 15 kallithea.lib.paster_commands.ishell
16 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 16 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
17 17
18 interactive shell paster command for RhodeCode 18 interactive shell paster command for RhodeCode
19 19
20 :created_on: Apr 4, 2013 20 :created_on: Apr 4, 2013
27 27
28 import os 28 import os
29 import sys 29 import sys
30 import logging 30 import logging
31 31
32 from rhodecode.lib.utils import BasePasterCommand 32 from kallithea.lib.utils import BasePasterCommand
33 33
34 # Add location of top level folder to sys.path 34 # Add location of top level folder to sys.path
35 from os.path import dirname as dn 35 from os.path import dirname as dn
36 rc_path = dn(dn(dn(os.path.realpath(__file__)))) 36 rc_path = dn(dn(dn(os.path.realpath(__file__))))
37 sys.path.append(rc_path) 37 sys.path.append(rc_path)
58 import os 58 import os
59 import sys 59 import sys
60 import time 60 import time
61 import shutil 61 import shutil
62 import datetime 62 import datetime
63 from rhodecode.model.db import * 63 from kallithea.model.db import *
64 64
65 try: 65 try:
66 from IPython import embed 66 from IPython import embed
67 from IPython.config.loader import Config 67 from IPython.config.loader import Config
68 cfg = Config() 68 cfg = Config()