~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Lukáš Lalinský
  • Date: 2008-01-30 15:54:33 UTC
  • mto: This revision was merged to the branch mainline in revision 3218.
  • Revision ID: lalinsky@gmail.com-20080130155433-pkw453ha5axm9pjv
Raise a proper error when 'version-info --custom' is used without a template

Show diffs side-by-side

added added

removed removed

Lines of Context:
2510
2510
        self.name = name
2511
2511
 
2512
2512
 
 
2513
class NoTemplate(BzrError):
 
2514
 
 
2515
    _fmt = 'No template specified.'
 
2516
 
 
2517
 
2513
2518
class UnableCreateSymlink(BzrError):
2514
2519
 
2515
2520
    _fmt = 'Unable to create symlink %(path_str)son this platform'