summaryrefslogtreecommitdiff
path: root/Lib/distutils/dist.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2009-05-15 17:27:30 +0000
committerAntoine Pitrou <solipsis@pitrou.net>2009-05-15 17:27:30 +0000
commitf541378d13e7750b67758b721e862fd3b27e9e6b (patch)
tree15b6288198e26fc15902ed853f024ebff6783a1e /Lib/distutils/dist.py
parent775fd66d7bd74cdedef536ff4f8c134ba718678f (diff)
downloadcpython-git-f541378d13e7750b67758b721e862fd3b27e9e6b.tar.gz
Fix bootstrapping by removing uses of the copy module in distutils
Diffstat (limited to 'Lib/distutils/dist.py')
-rw-r--r--Lib/distutils/dist.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/distutils/dist.py b/Lib/distutils/dist.py
index 2d57ad09e9..5fe262b112 100644
--- a/Lib/distutils/dist.py
+++ b/Lib/distutils/dist.py
@@ -8,7 +8,6 @@ __revision__ = "$Id$"
import sys, os, string, re
from types import *
-from copy import copy
try:
import warnings
@@ -537,7 +536,7 @@ Common commands: (see '--help-commands' for more)
# merge it in with the global negative aliases.
negative_opt = self.negative_opt
if hasattr(cmd_class, 'negative_opt'):
- negative_opt = copy(negative_opt)
+ negative_opt = negative_opt.copy()
negative_opt.update(cmd_class.negative_opt)
# Check for help_options in command class. They have a different