Fix stdlib typos that would cause NameError or AttributeError exceptions
This commit is contained in:
parent
39d02e9d59
commit
da536e8ae1
|
@ -90,7 +90,7 @@ def merge_stats(outpath, inpaths):
|
|||
break
|
||||
time.sleep(0.2)
|
||||
|
||||
stats.dump_stats(outpath)
|
||||
pstats.dump_stats(outpath)
|
||||
|
||||
|
||||
def generate_stats(outpath, tmpdir):
|
||||
|
|
|
@ -144,7 +144,7 @@ def wait_for_port(
|
|||
|
||||
if not pattern:
|
||||
# Success: We connected & there's no banner check to perform.
|
||||
sock.shutdown(socket.SHUTD_RDWR)
|
||||
sock.shutdown(socket.SHUT_RDWR)
|
||||
sock.close()
|
||||
return
|
||||
|
||||
|
|
Loading…
Reference in New Issue