Skip to content

Commit 405c013

Browse files
committed
dding script
1 parent 86c1091 commit 405c013

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/client/get_subprojects.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@
7676
references = bd.session.get(references_url)
7777
json_data = references.json()
7878
reference_count = json_data['totalCount']
79-
print (f"{project_name:30} {version_name:30} is ised in {reference_count:4} projects")
79+
print (f"{project_name:30} {version_name:30} is used in {reference_count:4} projects")
8080
if reference_count > 0:
8181
items = json_data['items']
8282
for item in items:
8383
referencing_version = bd.get_resource('href', item, items=False)
8484
referencing_project = bd.get_resource('project', referencing_version, items=False)
85-
print (f" {project_name:30} {version_name:30} is ised in {referencing_project['name']} {referencing_version['versionName']}")
85+
print (f" {project_name:30} {version_name:30} is used in {referencing_project['name']} {referencing_version['versionName']}")

0 commit comments

Comments
 (0)