Skip to content

Commit

Permalink
Fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
elprans committed Oct 14, 2024
1 parent 1f04dce commit e7cc99f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions edgedbpkg/edgedb_ext/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import dataclasses
import importlib
import pathlib
import shlex

from poetry.core.packages import dependency as poetry_dep
from poetry.core.constraints import version as poetry_version
Expand Down Expand Up @@ -105,9 +104,11 @@ def resolve(
pg_ext = None

if name is None:
name = cls.ident.removeprefix("edbext-")
pkgname = cls.ident.removeprefix("edbext-")
else:
pkgname = str(name)

name = f"{edb.name_slot}-{name}"
name = packages.canonicalize_name(f"{edb.name_slot}-{pkgname}")

ext = super().resolve(
io,
Expand Down

0 comments on commit e7cc99f

Please sign in to comment.