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

« back to all changes in this revision

Viewing changes to www/apps/tutorialservice/__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:
46
46
 
47
47
import cjson
48
48
 
49
 
from common import (db, util, console)
50
 
import test
51
 
import conf
 
49
from ivle import (db, util, console)
 
50
import ivle.conf
 
51
import test # XXX: Really .test, not real test.
52
52
 
53
53
# If True, getattempts or getattempt will allow browsing of inactive/disabled
54
54
# attempts. If False, will not allow this.
135
135
            "The exercise was not found.")
136
136
 
137
137
    # Start a console to run the tests on
138
 
    jail_path = os.path.join(conf.jail_base, req.user.login)
 
138
    jail_path = os.path.join(ivle.conf.jail_base, req.user.login)
139
139
    working_dir = os.path.join("/home", req.user.login)
140
140
    cons = console.Console(req.user.unixid, jail_path, working_dir)
141
141