Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
refs/heads/int/p/fp2
/
.
/
Lib
/
lib2to3
/
fixes
/
fix_imports2.py
blob: 9a33c67b1dc1940b2e271fad30b73f8e06b24e33 [
file
] [
log
] [
blame
]
"""Fix incompatible imports and module references that must be fixed after
fix_imports."""
from
.
import
fix_imports
MAPPING
=
{
'whichdb'
:
'dbm'
,
'anydbm'
:
'dbm'
,
}
class
FixImports2
(
fix_imports
.
FixImports
):
run_order
=
7
mapping
=
MAPPING