Skip to content

Commit

Permalink
Fix url_to_path() import
Browse files Browse the repository at this point in the history
Function url_to_path() moved to `pip._internal.utils.urls`.
See pypa/pip#7089
  • Loading branch information
atugushev committed Oct 1, 2019
1 parent 25a4e99 commit aa2015f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion piptools/_compat/pip_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def do_import(module_path, subimport=None, old_path=None):
user_cache_dir = do_import("utils.appdirs", "user_cache_dir")
FAVORITE_HASH = do_import("utils.hashes", "FAVORITE_HASH")
path_to_url = do_import("utils.urls", "path_to_url", old_path="download")
url_to_path = do_import("download", "url_to_path")
url_to_path = do_import("utils.urls", "url_to_path", old_path="download")
PackageFinder = do_import("index", "PackageFinder")
FormatControl = do_import("index", "FormatControl")
InstallCommand = do_import("commands.install", "InstallCommand")
Expand Down

0 comments on commit aa2015f

Please sign in to comment.