Fix stdlib typos that would cause NameError or AttributeError exceptions

pull/868/head
Alex Willmer 3 years ago
parent 39d02e9d59
commit da536e8ae1

@ -90,7 +90,7 @@ def merge_stats(outpath, inpaths):
break break
time.sleep(0.2) time.sleep(0.2)
stats.dump_stats(outpath) pstats.dump_stats(outpath)
def generate_stats(outpath, tmpdir): def generate_stats(outpath, tmpdir):

@ -144,7 +144,7 @@ def wait_for_port(
if not pattern: if not pattern:
# Success: We connected & there's no banner check to perform. # Success: We connected & there's no banner check to perform.
sock.shutdown(socket.SHUTD_RDWR) sock.shutdown(socket.SHUT_RDWR)
sock.close() sock.close()
return return

Loading…
Cancel
Save