Changeset - 87e9718ab4a2
[Not reviewed]
codereview
0 4 0
Marcin Kuzminski - 14 years ago 2012-05-07 22:07:55
marcin@python-works.com
Use webob exception as often as possible
4 files changed with 5 insertions and 5 deletions:
0 comments (0 inline, 0 general)
rhodecode/controllers/admin/repos.py
Show inline comments
 
@@ -28,7 +28,7 @@ import traceback
 
import formencode
 
from formencode import htmlfill
 

	
 
from paste.httpexceptions import HTTPInternalServerError
 
from webob.exc import HTTPInternalServerError
 
from pylons import request, session, tmpl_context as c, url
 
from pylons.controllers.util import redirect
 
from pylons.i18n.translation import _
rhodecode/controllers/compare.py
Show inline comments
 
@@ -51,8 +51,8 @@ class CompareController(BaseRepoControll
 
        or using a repo <empty>...(repo:</rhodecode/path/to/other)
 

	
 

	
 
        :param ref:
 
        :type ref:
 
        :param ref: <orginal_reference>...<other_reference>
 
        :type ref: str
 
        """
 
        org_repo = c.rhodecode_repo.name
 

	
rhodecode/controllers/home.py
Show inline comments
 
@@ -26,7 +26,7 @@
 
import logging
 

	
 
from pylons import tmpl_context as c, request
 
from paste.httpexceptions import HTTPBadRequest
 
from webob.exc import HTTPBadRequest
 

	
 
from rhodecode.lib.auth import LoginRequired
 
from rhodecode.lib.base import BaseController, render
rhodecode/controllers/journal.py
Show inline comments
 
@@ -30,7 +30,7 @@ from sqlalchemy.orm import joinedload
 
from webhelpers.paginate import Page
 
from webhelpers.feedgenerator import Atom1Feed, Rss201rev2Feed
 

	
 
from paste.httpexceptions import HTTPBadRequest
 
from webob.exc import HTTPBadRequest
 
from pylons import request, tmpl_context as c, response, url
 
from pylons.i18n.translation import _
 

	
0 comments (0 inline, 0 general)