summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-02-23 23:07:51 (GMT)
committerGuido van Rossum <guido@python.org>1999-02-23 23:07:51 (GMT)
commit83c03e2d94da97e715b18c29e27a553832b09065 (patch)
tree5b0711ff722aeeeb5dfae78e125f18075ce15edb
parentb6cf9a4fc46344ea346643cb58c36792c03a0bf0 (diff)
downloadcpython-83c03e2d94da97e715b18c29e27a553832b09065.zip
cpython-83c03e2d94da97e715b18c29e27a553832b09065.tar.gz
cpython-83c03e2d94da97e715b18c29e27a553832b09065.tar.bz2
Add import sys, needed by reference to sys.exc_info() in rmtree().
Discovered by Mitch Chapman.
-rw-r--r--Lib/shutil.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/shutil.py b/Lib/shutil.py
index b44a069..eb334f7 100644
--- a/Lib/shutil.py
+++ b/Lib/shutil.py
@@ -5,6 +5,7 @@ XXX The functions here don't copy the data fork or other metadata on Mac.
"""
import os
+import sys
import stat