aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python
diff options
context:
space:
mode:
authorGravatar thinkerou <thinkerou@gmail.com>2017-02-08 13:02:48 +0800
committerGravatar thinkerou <thinkerou@gmail.com>2017-02-08 13:05:07 +0800
commit2b43481ff3d99339f2fdb8e1e681c0717bed2259 (patch)
treeaafd36c57bda026bbfd8310395abac96ec6832f3 /src/python
parentc6556af5ec7f89c30f776bf85395c34dd57f363e (diff)
fix undefined name
Diffstat (limited to 'src/python')
-rw-r--r--src/python/grpcio_tests/commands.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/python/grpcio_tests/commands.py b/src/python/grpcio_tests/commands.py
index af0ffe3475..40f9b83454 100644
--- a/src/python/grpcio_tests/commands.py
+++ b/src/python/grpcio_tests/commands.py
@@ -28,7 +28,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
"""Provides distutils command classes for the gRPC Python setup process."""
-import distutils
+from distutils import errors as _errors
import glob
import os
import os.path
@@ -186,7 +186,7 @@ class RunInterop(test.test):
def finalize_options(self):
if self.client and self.server:
- raise DistutilsOptionError(
+ raise _errors.DistutilsOptionError(
'you may only specify one of client or server')
def run(self):