provinzkraut / unasyncd

Transforming asynchronous to synchronous Python code
MIT License
18 stars 3 forks source link

Fix replacing names to relative modules with other relative names #9

Closed provinzkraut closed 1 year ago

provinzkraut commented 1 year ago

Fix a bug that would cause an exception to be raised when a name from a relative import was configured to be replaced with another name from a relative import (e.g. from .foo import AsyncThing > from .bar import SyncThing).