Switch to unified view

a/Allura/allura/command/script.py b/Allura/allura/command/script.py
...
...
5
from allura.lib import helpers as h
5
from allura.lib import helpers as h
6
6
7
class ScriptCommand(base.Command):
7
class ScriptCommand(base.Command):
8
    min_args=2
8
    min_args=2
9
    max_args=None
9
    max_args=None
10
    usage = 'NAME <ini file> <script> ...'
10
    usage = '<ini file> <script> ...'
11
    summary = 'Run a script as if it were being run at the paster shell prompt'
11
    summary = 'Run a script as if it were being run at the paster shell prompt'
12
    parser = base.Command.standard_parser(verbose=True)
12
    parser = base.Command.standard_parser(verbose=True)
13
13
14
    def command(self):
14
    def command(self):
15
        self.basic_setup()
15
        self.basic_setup()
...
...
19
            exec fp in ns
19
            exec fp in ns
20
20
21
class SetToolAccessCommand(base.Command):
21
class SetToolAccessCommand(base.Command):
22
    min_args=3
22
    min_args=3
23
    max_args=None
23
    max_args=None
24
    usage = 'NAME <ini file> <project_shortname> <access_level>...'
24
    usage = '<ini file> <project_shortname> <access_level>...'
25
    summary = ('Set the tool statuses that are permitted to be installed on a'
25
    summary = ('Set the tool statuses that are permitted to be installed on a'
26
               ' given project')
26
               ' given project')
27
    parser = base.Command.standard_parser(verbose=True)
27
    parser = base.Command.standard_parser(verbose=True)
28
28
29
    def command(self):
29
    def command(self):