/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/foreign.py

  • Committer: Jelmer Vernooij
  • Date: 2018-11-11 04:08:32 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-20181111040832-nsljjynzzwmznf3h
Run autopep8.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
    )
33
33
""")
34
34
 
 
35
 
35
36
class VcsMapping(object):
36
37
    """Describes the mapping between the semantics of Bazaar and a foreign VCS.
37
38
 
138
139
        :param foreign_revid: Foreign revision id.
139
140
        :return: Dictionary mapping string keys to string values.
140
141
        """
141
 
        return { }
 
142
        return {}
142
143
 
143
144
    def serialize_foreign_revid(self, foreign_revid):
144
145
        """Serialize a foreign revision id for this VCS.
229
230
    def __init__(self, mapping):
230
231
        self.mapping = mapping
231
232
        super(ForeignBranch, self).__init__()
232