Hide Forgot
Description of problem: There is an invalid module imported in /usr/share/doc/python-nss-0.10/test/setup_certs.py. Version-Release number of selected component (if applicable): python-nss-doc-0.10-3.el6 How reproducible: Always Steps to Reproduce: 1. python /usr/share/doc/python-nss-0.10/test/setup_certs.py Actual results: Traceback (most recent call last): File "/usr/share/doc/python-nss-0.10/test/setup_certs.py", line 11, in <module> import mypty as pty ImportError: No module named mypty Expected results: certifcate database password="passwd" CA nickname="test_ca", CA subject="CN=Test CA" server nickname="test_server", server subject="CN=ibm-x3650-04.ovirt.rhts.eng.bos.redhat.com" client nickname="test_user", client subject="CN=test_user" Additional info: Why mypty is used instead of pty? Script works fine with pty module (from python-2.6.5-3.el6) is used.
Sorry, mpty was a local edit used to test the pty module (copied pty.py to ./mpty.py), it should not have been checked in. import pty is the correct import as you point out. I'll fix the import in the upstream source.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: This field is the basis of the errata or release note for this bug. It can also be used for change logs. The Technical Note template, known as CCFR, is as follows: Cause What actions or circumstances cause this bug to present. Consequence What happens when the bug presents. Fix What was done to fix the bug.
Cause: Run setup_certs.py Consequence: setup_certs.py fails to execute due to missing module mypty. Fix: Replace mypty with pty. Result: setup_certs.py executes successfully.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0607.html