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

« back to all changes in this revision

Viewing changes to ivle/webapp/filesystem/serve/__init__.py

  • Committer: William Grant
  • Date: 2009-04-28 08:25:30 UTC
  • Revision ID: grantw@unimelb.edu.au-20090428082530-u6w762gn0cyokpwf
Remove ivle.conf dependency from ivle.webapp.filesystem.serve.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
import cjson
30
30
 
31
31
from ivle import (studpath, interpret)
32
 
import ivle.conf
33
32
from ivle.database import User
34
33
from ivle.webapp.base.views import BaseView
35
34
from ivle.webapp.base.xhtml import XHTMLErrorView
100
99
        else:
101
100
            args.append(path)
102
101
 
103
 
        (out, err) = ivle.interpret.execute_raw(owner, jail, '/home',
104
 
                    os.path.join(ivle.conf.share_path, 'services/serveservice'),
 
102
        (out, err) = interpret.execute_raw(owner, jail, '/home',
 
103
                    os.path.join('/usr/local/share/ivle',
 
104
                                 'services/serveservice'),
105
105
                    args)
106
106
        assert not err
107
107