summaryrefslogtreecommitdiffstats
path: root/Lib/lib2to3/fixes/fix_imports2.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-07-17 02:21:56 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-07-17 02:21:56 (GMT)
commit4cdf572cc54d32b057a7fddfbccd7b161e79e40d (patch)
tree82ce5c7f6184ed796c13b2c5616d27d49b7b11a6 /Lib/lib2to3/fixes/fix_imports2.py
parentf156b0c2b34da88913923711b8ceb8160d29d171 (diff)
downloadcpython-4cdf572cc54d32b057a7fddfbccd7b161e79e40d.zip
cpython-4cdf572cc54d32b057a7fddfbccd7b161e79e40d.tar.gz
cpython-4cdf572cc54d32b057a7fddfbccd7b161e79e40d.tar.bz2
Merged revisions 65055 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ................ r65055 | benjamin.peterson | 2008-07-16 21:07:46 -0500 (Wed, 16 Jul 2008) | 13 lines Merged revisions 65053-65054 via svnmerge from svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r65053 | benjamin.peterson | 2008-07-16 21:04:12 -0500 (Wed, 16 Jul 2008) | 1 line massive optimizations for 2to3 (especially fix_imports) from Nick Edds ........ r65054 | benjamin.peterson | 2008-07-16 21:05:09 -0500 (Wed, 16 Jul 2008) | 1 line normalize whitespace ........ ................
Diffstat (limited to 'Lib/lib2to3/fixes/fix_imports2.py')
-rw-r--r--Lib/lib2to3/fixes/fix_imports2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/lib2to3/fixes/fix_imports2.py b/Lib/lib2to3/fixes/fix_imports2.py
index 6c1f3a1..e82f7e4 100644
--- a/Lib/lib2to3/fixes/fix_imports2.py
+++ b/Lib/lib2to3/fixes/fix_imports2.py
@@ -4,8 +4,8 @@ from . import fix_imports
MAPPING = {
- 'whichdb': ('dbm', ['whichdb']),
- 'anydbm': ('dbm', ['error', 'open']),
+ 'whichdb': 'dbm',
+ 'anydbm': 'dbm',
}