/breezy-debian/trunk

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy-debian/trunk

« back to all changes in this revision

Viewing changes to import_dsc.py

  • Committer: Jelmer Vernooij
  • Date: 2018-10-10 21:43:37 UTC
  • Revision ID: jelmer@jelmer.uk-20181010214337-ffmg6a8np2ywc67h
Python3 compatibility fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1239
1239
        to_location = os.path.join(basedir, "upstream")
1240
1240
        # Use upstream_branch if it has been set, otherwise self.branch.
1241
1241
        source_branch = self.pristine_upstream_branch or self.branch
1242
 
        assert upstream_tips.keys() == [None]
 
1242
        assert list(upstream_tips.keys()) == [None], "Upstream tips: %r" % list(upstream_tips.keys())
1243
1243
        dir_to = source_branch.controldir.sprout(to_location,
1244
1244
                revision_id=upstream_tips[None],
1245
1245
                accelerator_tree=self.tree)