~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Aaron Bentley
  • Date: 2006-05-10 01:37:35 UTC
  • mfrom: (0.1.108 shelf)
  • Revision ID: aaron.bentley@utoronto.ca-20060510013735-7b223d3be37ee6b1
Merge Michael's shelf updates

Show diffs side-by-side

added added

removed removed

Lines of Context:
200
200
            self.__check_no_args(args_list, "shelf upgrade takes no arguments!")
201
201
            s.upgrade()
202
202
        else:
203
 
            print subcommand, args_list
204
 
            print >>sys.stderr, "Unknown shelf subcommand '%s'" % subcommand
 
203
            raise CommandError("Unknown shelf subcommand '%s'" % subcommand)
205
204
 
206
205
    def __check_one_arg(self, args, msg):
207
206
        if args is None or len(args) != 1: