/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/repofmt/groupcompress_repo.py

  • Committer: Jelmer Vernooij
  • Date: 2017-02-05 15:38:26 UTC
  • mto: (6621.2.1 py3)
  • mto: This revision was merged to the branch mainline in revision 6624.
  • Revision ID: jelmer@jelmer.uk-20170205153826-rnrd0m3iqoizqvrw
Apply 2to3 except fix.

Show diffs side-by-side

added added

removed removed

Lines of Context:
778
778
            for record in _filter_text_keys(chk_diff, text_keys,
779
779
                                            chk_map._bytes_to_text_key):
780
780
                pass
781
 
        except errors.NoSuchRevision, e:
 
781
        except errors.NoSuchRevision as e:
782
782
            # XXX: It would be nice if we could give a more precise error here.
783
783
            problems.append("missing chk node(s) for id_to_entry maps")
784
784
        chk_diff = chk_map.iter_interesting_nodes(
787
787
        try:
788
788
            for interesting_rec, interesting_map in chk_diff:
789
789
                pass
790
 
        except errors.NoSuchRevision, e:
 
790
        except errors.NoSuchRevision as e:
791
791
            problems.append(
792
792
                "missing chk node(s) for parent_id_basename_to_file_id maps")
793
793
        present_text_keys = no_fallback_texts_index.get_parent_map(text_keys)