~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

Improved topological sort

Show diffs side-by-side

added added

removed removed

Lines of Context:
350
350
    def __init__(self, command_line):
351
351
        BzrError.__init__(self, "Failed to gpg sign data with command '%s'"
352
352
                               % command_line)
 
353
 
 
354
class GraphCycleError(BzrNewError):
 
355
    """Cycle in graph %(graph)r"""
 
356
    def __init__(self, graph):
 
357
        BzrNewError.__init__(self)
 
358
        self.graph = graph