Skip to content

Commit

Permalink
More fixes for pending tasks and invalid reloading of multidict/yarl
Browse files Browse the repository at this point in the history
  • Loading branch information
kalaspuff committed Oct 2, 2017
1 parent 50b8672 commit b840b51
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tomodachi/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
import datetime
import uvloop
import traceback
import multidict
import yarl
import multidict # noqa
import yarl # noqa
from typing import Dict, Union, Optional, Any, List
import tomodachi.container
import tomodachi.importer
Expand Down Expand Up @@ -99,8 +99,6 @@ async def _watcher_restart() -> None:
if m not in init_modules and m not in safe_modules:
del(sys.modules[m])

importlib.reload(multidict)
importlib.reload(yarl)
importlib.reload(tomodachi.container)
importlib.reload(tomodachi.invoker)
importlib.reload(tomodachi.invoker.base)
Expand Down

0 comments on commit b840b51

Please sign in to comment.