/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 breezy/info.py

  • Committer: Jelmer Vernooij
  • Date: 2018-11-12 01:41:38 UTC
  • mto: (7143.16.20 even-more-cleanups)
  • mto: This revision was merged to the branch mainline in revision 7175.
  • Revision ID: jelmer@jelmer.uk-20181112014138-3b0zyx91cu3wdq3k
More PEP8 fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
247
247
def _show_missing_revisions_working(working, outfile):
248
248
    """Show missing revisions in working tree."""
249
249
    branch = working.branch
250
 
    basis = working.basis_tree()
251
250
    try:
252
251
        branch_revno, branch_last_revision = branch.last_revision_info()
253
252
    except errors.UnsupportedOperation:
530
529
 
531
530
    def __init__(self):
532
531
        super(InfoHooks, self).__init__("breezy.info", "hooks")
533
 
        self.add_hook('repository',
534
 
                      "Invoked when displaying the statistics for a repository. "
535
 
                      "repository is called with a statistics dictionary as returned "
536
 
                      "by the repository and a file-like object to write to.", (1, 15))
 
532
        self.add_hook(
 
533
            'repository',
 
534
            "Invoked when displaying the statistics for a repository. "
 
535
            "repository is called with a statistics dictionary as returned "
 
536
            "by the repository and a file-like object to write to.", (1, 15))
537
537
 
538
538
 
539
539
hooks = InfoHooks()