[Python-bugs-list] "import sys" missing in shutil.py (PR#320)

greg@wildbrain.com greg@wildbrain.com
Tue, 9 May 2000 18:35:12 -0400 (EDT)


Full_Name: Gregory Brauer
Version: 1.5.2
OS: IRIX/Linux
Submission from: 40320f82.ptr.dia.nextlink.net (64.50.15.130)


Problem:

Line 111 of shutil.py in the standard distribution references
the "sys" module.  "sys" is never included in the shutil module,
however, and will cause a NameError if this line is executed.

Solution:
Insert at line 9:

import sys