~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/controllers/error_ui.py

  • Committer: Martin Albisetti
  • Date: 2008-10-20 21:18:06 UTC
  • mfrom: (229.1.3 add-yui-3)
  • Revision ID: martin.albisetti@canonical.com-20081020211806-rzs0ya40gz9wcpoz
Added yui library to the tree. Welcome to the future. (Paul Hummer)

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
from loggerhead.controllers import TemplatedBranchView
23
23
from loggerhead import util
24
24
 
25
 
 
26
25
class ErrorUI(TemplatedBranchView):
27
26
 
28
27
    template_path = 'loggerhead.templates.error'
42
41
                'changes'))
43
42
        return {
44
43
            'branch': self._branch,
45
 
            'error_title': ('An unexpected error occurred while'
46
 
                            'proccesing the request:'),
 
44
            'error_title': 'An unexpected error occurred while proccesing the request:',
47
45
            'error_description': description.getvalue(),
48
46
            'directory_breadcrumbs': directory_breadcrumbs,
49
47
        }