summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2010-11-20 19:35:27 (GMT)
committerÉric Araujo <merwok@netwok.org>2010-11-20 19:35:27 (GMT)
commitff1144eb34118662e9c44d58ecc26d4c4f9c640c (patch)
tree82332ede9f05be567ec0f90c14dec128bab7b24b /Lib/distutils
parentb1cb105bde8c934ec6bdd668cb864d991732a417 (diff)
downloadcpython-ff1144eb34118662e9c44d58ecc26d4c4f9c640c.zip
cpython-ff1144eb34118662e9c44d58ecc26d4c4f9c640c.tar.gz
cpython-ff1144eb34118662e9c44d58ecc26d4c4f9c640c.tar.bz2
Fix two NameErrors in distutils (#10407)
Diffstat (limited to 'Lib/distutils')
-rw-r--r--Lib/distutils/dir_util.py1
-rw-r--r--Lib/distutils/tests/test_sysconfig.py1
2 files changed, 2 insertions, 0 deletions
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