/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/bzr/xml8.py

  • Committer: Jelmer Vernooij
  • Date: 2020-02-21 03:58:42 UTC
  • mfrom: (7490.3.4 work)
  • mto: This revision was merged to the branch mainline in revision 7495.
  • Revision ID: jelmer@jelmer.uk-20200221035842-j97r6b74q8cgxb21
merge lp:brz/3.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
241
241
                       revision_id=get_cached(elt.get('revision_id')),
242
242
                       inventory_sha1=elt.get('inventory_sha1').encode('ascii')
243
243
                       )
244
 
        parents = elt.find('parents')
245
 
        if parents is not None:
246
 
            for p in parents:
247
 
                rev.parent_ids.append(get_cached(p.get('revision_id')))
 
244
        parents = elt.find('parents') or []
 
245
        for p in parents:
 
246
            rev.parent_ids.append(get_cached(p.get('revision_id')))
248
247
        self._unpack_revision_properties(elt, rev)
249
248
        v = elt.get('timezone')
250
249
        if v is None: