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

« back to all changes in this revision

Viewing changes to www/apps/svnlog/__init__.py

  • Committer: William Grant
  • Date: 2009-01-13 01:36:15 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:1123
Merge setup-refactor branch. This completely breaks existing installations;
every path (both filesystem and Python) has changed. Do not upgrade without
knowing what you are doing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
import os
25
25
 
26
 
import conf
27
 
import common.interpret
 
26
import ivle.conf
 
27
import ivle.interpret
28
28
 
29
29
def handle(req):
30
30
    """Handler for Subversion log functionality."""
33
33
 
34
34
    if req.path == "":
35
35
        req.throw_redirect(os.path.join(req.uri, req.user.login))
36
 
    interpreter = common.interpret.interpreter_objects["cgi-python"]
37
 
    jail_dir = os.path.join(conf.jail_base, req.user.login)
38
 
    common.interpret.interpret_file(req, req.user.login, jail_dir,
39
 
          '/opt/ivle/services/svnlogservice', interpreter)
 
36
    interpreter = ivle.interpret.interpreter_objects["cgi-python"]
 
37
    jail_dir = os.path.join(ivle.conf.jail_base, req.user.login)
 
38
    ivle.interpret.interpret_file(req, req.user.login, jail_dir,
 
39
          os.path.join(ivle.conf.share_path, 'services/svnlogservice'),
 
40
          interpreter)
 
41
 
40
42