No need to import exceptions, they are builtins

This commit is contained in:
Neal Norwitz 2005-09-01 00:45:28 +00:00
parent 6203196c7c
commit 4ce69a5b06
3 changed files with 4 additions and 7 deletions

View file

@ -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):