/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/transport/ssh.py

  • Committer: Jelmer Vernooij
  • Date: 2017-06-10 00:06:46 UTC
  • mfrom: (6673 work)
  • mto: This revision was merged to the branch mainline in revision 6675.
  • Revision ID: jelmer@jelmer.uk-20170610000646-xj6jh277lo4xuo10
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
629
629
    try:
630
630
        f = open(bzr_hostkey_path, 'w')
631
631
        f.write('# SSH host keys collected by bzr\n')
632
 
        for hostname, keys in BRZ_HOSTKEYS.iteritems():
633
 
            for keytype, key in keys.iteritems():
 
632
        for hostname, keys in BRZ_HOSTKEYS.items():
 
633
            for keytype, key in keys.items():
634
634
                f.write('%s %s %s\n' % (hostname, keytype, key.get_base64()))
635
635
        f.close()
636
636
    except IOError as e: