/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Aaron Bentley
  • Date: 2006-10-12 03:19:14 UTC
  • mto: This revision was merged to the branch mainline in revision 2078.
  • Revision ID: aaron.bentley@utoronto.ca-20061012031914-036d95e1296a45c4
Changes from review comments

Show diffs side-by-side

added added

removed removed

Lines of Context:
973
973
 
974
974
 
975
975
class NoFinalPath(BzrNewError):
976
 
    """No final name for trans_id %(trans_id)r"""
 
976
    """No final name for trans_id %(trans_id)r
 
977
    file-id: %(file_id)r"
 
978
    root trans-id: %(root_trans_id)r 
 
979
    """
977
980
 
978
981
    def __init__(self, trans_id, transform):
979
982
        self.trans_id = trans_id
980
983
        self.file_id = transform.final_file_id(trans_id)
981
984
        self.root_trans_id = transform.root
982
985
 
983
 
    def __str__():
984
 
        return (BzrNewError.str(self) + 
985
 
                "\nfile-id: %(file_id)r"
986
 
                "\nroot trans-id: %(root_trans_id)r" % self.__dict__)
987
 
 
988
986
 
989
987
class BzrBadParameter(BzrNewError):
990
988
    """A bad parameter : %(param)s is not usable.