Skip to content
This repository has been archived by the owner on Jan 12, 2021. It is now read-only.

Commit

Permalink
Merge pull request #405 from dephell/fix-lazy-import
Browse files Browse the repository at this point in the history
fix lazy import for html5lib
  • Loading branch information
orsinium committed Mar 17, 2020
2 parents f6ab55b + 1544403 commit 2a57d2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dephell/repositories/_warehouse/_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
from ...config import config
from ...constants import ARCHIVE_EXTENSIONS
from ...exceptions import PackageNotFoundError
from ...imports import import_module
from ...imports import lazy_import
from ...models.release import Release
from ...networking import requests_session
from ._base import WarehouseBaseRepo


html5lib = import_module('html5lib')
html5lib = lazy_import('html5lib')
logger = getLogger('dephell.repositories.warehouse.simple')


Expand Down

0 comments on commit 2a57d2b

Please sign in to comment.