~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Martin Pool
  • Date: 2006-03-13 16:48:51 UTC
  • mto: (1615.1.1 bzr.mbp.integration)
  • mto: This revision was merged to the branch mainline in revision 1613.
  • Revision ID: mbp@sourcefrog.net-20060313164851-620b667bf518c996
Better error message for Command.run() not implemented

Show diffs side-by-side

added added

removed removed

Lines of Context:
249
249
        shell error code if not.  It's OK for this method to allow
250
250
        an exception to raise up.
251
251
        """
252
 
        raise NotImplementedError()
 
252
        raise NotImplementedError('no implementation of command %r' 
 
253
                                  % self.name())
253
254
 
254
255
    def help(self):
255
256
        """Return help message for this class."""