/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: Martin Pool
  • Date: 2009-08-20 05:02:45 UTC
  • mfrom: (4615 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4632.
  • Revision ID: mbp@sourcefrog.net-20090820050245-o7cw6nxrzh1eah8h
News for apport feature

Show diffs side-by-side

added added

removed removed

Lines of Context:
2006
2006
 
2007
2007
class BadConversionTarget(BzrError):
2008
2008
 
2009
 
    _fmt = "Cannot convert to format %(format)s.  %(problem)s"
 
2009
    _fmt = "Cannot convert from format %(from_format)s to format %(format)s." \
 
2010
            "    %(problem)s"
2010
2011
 
2011
 
    def __init__(self, problem, format):
 
2012
    def __init__(self, problem, format, from_format=None):
2012
2013
        BzrError.__init__(self)
2013
2014
        self.problem = problem
2014
2015
        self.format = format
 
2016
        self.from_format = from_format or '(unspecified)'
2015
2017
 
2016
2018
 
2017
2019
class NoDiffFound(BzrError):