~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/base/xhtml.py

  • Committer: William Grant
  • Date: 2009-04-28 06:18:14 UTC
  • Revision ID: grantw@unimelb.edu.au-20090428061814-fiqynzwcmtk3dokn
Replace ivle.util.unmake_path with specialisations in Request and CGIRequest.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
from ivle.webapp.base.views import BaseView
29
29
from ivle.webapp.base.plugins import ViewPlugin, OverlayPlugin
30
30
from ivle.webapp.errors import HTTPError, Unauthorized
 
31
import ivle.util
31
32
 
32
33
class XHTMLView(BaseView):
33
34
    """
134
135
                        ctx['favicon'] = icon_url
135
136
                else:
136
137
                    new_app['has_icon'] = False
137
 
                new_app['path'] = req.make_path(tab[4])
 
138
                new_app['path'] = ivle.util.make_path(tab[4])
138
139
                new_app['desc'] = tab[2]
139
140
                new_app['name'] = tab[1]
140
141
                new_app['weight'] = tab[5]