diff rhodecode/model/pull_request.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/model/pull_request.py	Wed Jul 02 19:04:00 2014 -0400
+++ b/rhodecode/model/pull_request.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.model.pull_request
+kallithea.model.pull_request
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 pull request model for RhodeCode
@@ -28,13 +28,13 @@
 
 from pylons.i18n.translation import _
 
-from rhodecode.model.meta import Session
-from rhodecode.lib import helpers as h
-from rhodecode.model import BaseModel
-from rhodecode.model.db import PullRequest, PullRequestReviewers, Notification,\
+from kallithea.model.meta import Session
+from kallithea.lib import helpers as h
+from kallithea.model import BaseModel
+from kallithea.model.db import PullRequest, PullRequestReviewers, Notification,\
     ChangesetStatus
-from rhodecode.model.notification import NotificationModel
-from rhodecode.lib.utils2 import safe_unicode
+from kallithea.model.notification import NotificationModel
+from kallithea.lib.utils2 import safe_unicode
 
 
 log = logging.getLogger(__name__)
@@ -63,7 +63,7 @@
 
     def create(self, created_by, org_repo, org_ref, other_repo, other_ref,
                revisions, reviewers, title, description=None):
-        from rhodecode.model.changeset_status import ChangesetStatusModel
+        from kallithea.model.changeset_status import ChangesetStatusModel
 
         created_by_user = self._get_user(created_by)
         org_repo = self._get_repo(org_repo)