~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/externalcommand.py

Removed changes from bzr.ab 1529..1536

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
    def run(self, *args, **kwargs):
57
57
        raise NotImplementedError('should not be called on %r' % self)
58
58
 
59
 
    def run_argv(self, argv, defaults=None):
60
 
        if defaults is None:
61
 
            defaults = []
62
 
        return os.spawnv(os.P_WAIT, self.path, [self.path] + defaults + argv)
 
59
    def run_argv(self, argv):
 
60
        return os.spawnv(os.P_WAIT, self.path, [self.path] + argv)
63
61
 
64
62
    def help(self):
65
63
        m = 'external command from %s\n\n' % self.path