From ff1144eb34118662e9c44d58ecc26d4c4f9c640c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Araujo?= Date: Sat, 20 Nov 2010 19:35:27 +0000 Subject: Fix two NameErrors in distutils (#10407) --- Lib/distutils/dir_util.py | 1 + Lib/distutils/tests/test_sysconfig.py | 1 + 2 files changed, 2 insertions(+) diff --git a/Lib/distutils/dir_util.py b/Lib/distutils/dir_util.py index c7c9fcc..5b005f0 100644 --- a/Lib/distutils/dir_util.py +++ b/Lib/distutils/dir_util.py @@ -5,6 +5,7 @@ Utility functions for manipulating directories and directory trees.""" __revision__ = "$Id$" import os, sys +import errno from distutils.errors import DistutilsFileError, DistutilsInternalError from distutils import log diff --git a/Lib/distutils/tests/test_sysconfig.py b/Lib/distutils/tests/test_sysconfig.py index 336c6a5..fbe26bf 100644 --- a/Lib/distutils/tests/test_sysconfig.py +++ b/Lib/distutils/tests/test_sysconfig.py @@ -1,5 +1,6 @@ """Tests for distutils.sysconfig.""" import os +import shutil import test import unittest -- cgit v0.12