changeset 52656 | 3e84e001b6c1 |
parent 49435 | f1dcddb7f328 |
--- a/contrib/automation/hgautomation/aws.py Mon Jan 06 01:44:46 2025 -0500 +++ b/contrib/automation/hgautomation/aws.py Tue Jan 07 17:28:46 2025 -0500 @@ -332,7 +332,7 @@ pub_full = key_path / f priv_full = key_path / ('keypair-%s' % name) - with open(pub_full, 'r', encoding='ascii') as fh: + with open(pub_full, encoding='ascii') as fh: data = fh.read() if not data.startswith('ssh-rsa '):