From 4ce69a5b06d230d513139ad0797bcc1b471f910c Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Thu, 1 Sep 2005 00:45:28 +0000 Subject: No need to import exceptions, they are builtins --- Lib/shutil.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Lib/shutil.py') diff --git a/Lib/shutil.py b/Lib/shutil.py index 14baa71e83..2fca61c164 100644 --- a/Lib/shutil.py +++ b/Lib/shutil.py @@ -7,13 +7,12 @@ XXX The functions here don't copy the resource fork or other metadata on Mac. import os import sys import stat -import exceptions from os.path import abspath __all__ = ["copyfileobj","copyfile","copymode","copystat","copy","copy2", "copytree","move","rmtree","Error"] -class Error(exceptions.EnvironmentError): +class Error(EnvironmentError): pass def copyfileobj(fsrc, fdst, length=16*1024): -- cgit v1.2.1