Skip to content

Commit 299419f

Browse files
committed
Fix errors
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
1 parent a2a235e commit 299419f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

minecode_pipelines/pipes/conan.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ def get_conan_packages(file_path, versions):
3737

3838
updated_purls = []
3939
for version in versions:
40-
version_str = version.get("version")
41-
purl = PackageURL(type="conan", name=package_name, version=version_str).to_string()
40+
purl = PackageURL(type="conan", name=package_name, version=str(version)).to_string()
4241
updated_purls.append(purl)
4342
return base_purl, updated_purls
4443

pyproject-minecode_pipelines.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "flot.buildapi"
44

55
[project]
66
name = "minecode_pipelines"
7-
version = "0.0.1b37"
7+
version = "0.0.1b38"
88
description = "A library for mining packageURLs and package metadata from ecosystem repositories."
99
readme = "minecode_pipelines/README.rst"
1010
license = { text = "Apache-2.0" }

0 commit comments

Comments
 (0)