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

« back to all changes in this revision

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

  • Committer: William Grant
  • Date: 2009-05-27 04:07:51 UTC
  • Revision ID: grantw@unimelb.edu.au-20090527040751-qwh5kq65wbdfrtsz
Drop ivle.conf usage from ivle.interpret.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
 
55
55
        jail_dir = os.path.join(req.config['paths']['jails']['mounts'],
56
56
                                req.user.login)
57
 
        (out, err) = ivle.interpret.execute_raw(req.user, jail_dir, '/home',
58
 
                                    os.path.join(req.config['paths']['share'],
59
 
                                                 'services/diffservice'),
60
 
                                    [self.path] + revs)
 
57
        (out, err) = ivle.interpret.execute_raw(req.config, req.user, jail_dir,
 
58
                            '/home', os.path.join(req.config['paths']['share'],
 
59
                                                  'services/diffservice'),
 
60
                            [self.path] + revs
 
61
                            )
61
62
        assert not err
62
63
 
63
64
        response = cjson.decode(out)