PageRenderTime 19ms CodeModel.GetById 15ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/Lib/lib2to3/fixes/fix_imports2.py

http://unladen-swallow.googlecode.com/
Python | 16 lines | 8 code | 6 blank | 2 comment | 0 complexity | 15274809df396bec14aeafccd2ab9875 MD5 | raw file
 1"""Fix incompatible imports and module references that must be fixed after
 2fix_imports."""
 3from . import fix_imports
 4
 5
 6MAPPING = {
 7            'whichdb': 'dbm',
 8            'anydbm': 'dbm',
 9          }
10
11
12class FixImports2(fix_imports.FixImports):
13
14    run_order = 7
15
16    mapping = MAPPING