From 83c03e2d94da97e715b18c29e27a553832b09065 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 23 Feb 1999 23:07:51 +0000 Subject: [PATCH] Add import sys, needed by reference to sys.exc_info() in rmtree(). Discovered by Mitch Chapman. --- Lib/shutil.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/shutil.py b/Lib/shutil.py index b44a0694466..eb334f70f47 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