core: move split compat/legacy modules into hpi_compat and compat
This commit is contained in:
parent
70bf51a125
commit
412eed0eaf
9 changed files with 72 additions and 62 deletions
|
@ -67,7 +67,7 @@ config = make_config(reddit, migration=migration)
|
|||
try:
|
||||
from rexport import dal
|
||||
except ModuleNotFoundError as e:
|
||||
from my.core.compat import pre_pip_dal_handler
|
||||
from my.core.hpi_compat import pre_pip_dal_handler
|
||||
|
||||
dal = pre_pip_dal_handler('rexport', e, config, requires=REQUIRES)
|
||||
# TODO ugh. this would import too early
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue