[issue22074] Lib/test/make_ssl_certs.py fails with NameError

Alex Gaynor report at bugs.python.org
Sat Jul 26 01:08:25 CEST 2014


New submission from Alex Gaynor:

This is on default:


$ python3 Lib/test/make_ssl_certs.py
creating cert for localhost
Generating a 1024 bit RSA private key
.++++++
....................................................++++++
writing new private key to '/var/folders/fm/57qdjdrx6gzgcq1zlym0xwfc0000gn/T/tmpbfrqx7mo'
-----
password protecting ssl_key.pem in ssl_key.passwd.pem
writing RSA key
writing RSA key
Traceback (most recent call last):
  File "Lib/test/make_ssl_certs.py", line 158, in <module>
    make_ca()
  File "Lib/test/make_ssl_certs.py", line 118, in make_ca
    r.write("00")
NameError: name 'r' is not defined


I can't see anything that ought to be assigning `r`, perhaps it's supposed to be `f`?

----------
components: Library (Lib), Tests
messages: 224011
nosy: alex
priority: normal
severity: normal
status: open
title: Lib/test/make_ssl_certs.py fails with NameError
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22074>
_______________________________________


More information about the Python-bugs-list mailing list