Skip to content
Snippets Groups Projects
Verified Commit 69028b09 authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

opam: Explicit TODO comment

parent d6cbf411
No related branches found
Tags v0.0.22
No related merge requests found
......@@ -114,9 +114,8 @@ class OpamLoader(PackageLoader[OpamPackageInfo]):
The list of versions for the package
"""
# HACK using opam internals (opam < 2.1) to list current package versions. We
# need `opam show` to support the --repo flag but it does not currently so we
# work around it.
# TODO: use `opam show` instead of this workaround when it support the `--repo`
# flag
package_dir = self.get_package_dir()
if not os.path.exists(package_dir):
raise ValueError(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment