mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
49f7aba937
This patch adds a fixer that accounts for changes in python packages, as the framework provided by lib2to3 is only able to track changes in module names. This fixer (hopefully) can fix any change in one-level hierarchies. To exemplify, this fixer can successfully change an import from "email.MIMEMultipart" to "email.mime.multipart". |
||
---|---|---|
.. | ||
__init__.py | ||
fix_bytes.py | ||
fix_bytesmod.py | ||
fix_leftover_imports.py |