Skip to content

Commit c8915d0

Browse files
authored
Typo - fix capitalisation (#98)
Oops!
1 parent 798ef61 commit c8915d0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

plugins/asfdata.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,10 +349,11 @@ def process_sequence(metadata, seq, sequence, load, debug):
349349
# determine the project or podling logo
350350
reference = add_logo(reference, sequence['logo'])
351351
if seq == 'featured_pods':
352-
# for podlings strip "Apache" from the beginning and "(incubating)" from the end.
352+
# for podlings strip "Apache " from the beginning and " (Incubating)" from the end.
353353
# this is Sally's request
354+
# It mainly applies to data fetched from https://projects.apache.org/json/foundation/podlings.json
354355
for item in reference:
355-
setattr(item, 'name', item.name.replace('Apache ', '').replace(' (incubating)', ''))
356+
setattr(item, 'name', item.name.replace('Apache ', '').replace(' (Incubating)', ''))
356357
else:
357358
print(f'{seq} - logo requires an existing sequence')
358359

0 commit comments

Comments
 (0)