~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-06-05 04:05:05 UTC
  • mfrom: (3473.1.1 ianc-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20080605040505-i9kqxg2fps2qjdi0
Add the 'alias' command (Tim Penhey)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2723
2723
        self.user_encoding = osutils.get_user_encoding()
2724
2724
 
2725
2725
 
 
2726
class NoSuchAlias(BzrError):
 
2727
 
 
2728
    _fmt = ('The alias "%(alias_name)s" does not exist.')
 
2729
 
 
2730
    def __init__(self, alias_name):
 
2731
        BzrError.__init__(self, alias_name=alias_name)
 
2732
 
 
2733
 
2726
2734
class CannotBindAddress(BzrError):
2727
2735
 
2728
2736
    _fmt = 'Cannot bind address "%(host)s:%(port)i": %(orig_error)s.'