/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 tools/package_mf.py

  • Committer: Jelmer Vernooij
  • Date: 2017-02-05 23:17:36 UTC
  • mto: (6621.2.2 py3)
  • mto: This revision was merged to the branch mainline in revision 6624.
  • Revision ID: jelmer@jelmer.uk-20170205231736-r23gq807d70rbd2c
Run 2to3 execfile fixer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
 
60
60
    def get_result(self):
61
61
        """Return 2-tuple: (list of packages, list of modules)"""
62
 
        keys = self.modules.keys()
63
 
        keys.sort()
 
62
        keys = sorted(self.modules.keys())
64
63
        mods = []
65
64
        packs = []
66
65
        for key in keys:
82
81
 
83
82
    packs, mods = mf.get_result()
84
83
 
85
 
    print 'Packages:'
86
 
    print packs
 
84
    print('Packages:')
 
85
    print(packs)
87
86
 
88
 
    print 'Modules:'
89
 
    print mods
 
87
    print('Modules:')
 
88
    print(mods)