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

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: David Coles
  • Date: 2010-07-16 06:47:19 UTC
  • Revision ID: coles.david@gmail.com-20100716064719-j68ejmcf6akblw8a
Fix typo in rebuild_svn_config that caused Storm query to return limited or no 
submissions.

Fixes issue where lectueres and tutors did not have permission to access 
submissions by students in their subjects.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
# This is a command-line application, for use by the administrator.
24
24
# This program is a frontend for the modules in the setup packages that 
25
 
# configure, build and install IVLE in three separate steps.
 
25
# build and install IVLE in separate steps.
26
26
# It is called with at least one argument, which specifies which operation to
27
27
# take.
28
28
 
29
29
import sys
30
 
import setup.configure
31
30
import setup.build
32
31
import setup.install
33
32
 
34
 
 
35
33
def main(argv=None):
36
34
    if argv is None:
37
35
        argv = sys.argv
63
61
        print """Usage: python setup.py operation [options]
64
62
Operation can be:
65
63
    help [operation]
66
 
    config
67
64
    build
68
65
    install
69
66
 
78
75
    try:
79
76
        oper_func = {
80
77
            'help' : help,
81
 
            'config' : setup.configure.configure,
82
78
            'build' : setup.build.build,
83
79
            'install' : setup.install.install,
84
 
            #'updatejails' : None,
85
80
        }[operation]
86
81
    except KeyError:
87
82
        print >>sys.stderr, (