Skip to content

Commit

Permalink
Backport commit 300d03216 from main repo
Browse files Browse the repository at this point in the history
  • Loading branch information
matteodelabre committed Sep 1, 2021
1 parent c7891f2 commit b414847
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion toltec/recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,9 @@ class Package: # pylint: disable=too-many-instance-attributes

def pkgid(self) -> str:
"""Get the unique identifier of this package."""
return "_".join((self.name, str(self.version), self.parent.arch))
return "_".join(
(self.name, str(self.version).replace(":", "_"), self.parent.arch)
)

def filename(self) -> str:
"""Get the name of the archive corresponding to this package."""
Expand Down

0 comments on commit b414847

Please sign in to comment.