Skip to content

Commit 5d07165

Browse files
committed
Very minor code change to make the test green
1 parent aa99075 commit 5d07165

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

about_code_tool/genabout.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ def verify_files_existence(self, input_list, project_dir, file_in_project):
237237
# Get all the dictionary keys
238238
column_keys = input_list[0].keys()
239239

240-
# Get all the keys that ends with _file except for the 'about_file
240+
# Get all the keys that ends with _file except for the 'about_file'
241241
file_keys = []
242242
for key in column_keys:
243243
if key.endswith('_file') and key != 'about_file':
@@ -416,8 +416,8 @@ def get_dje_license_list(self, gen_location, input_list, gen_license, dje_licens
416416
if line['dje_license']:
417417
license_output_list.append(self.gen_license_list(line))
418418
lic_name = line['dje_license_name']
419-
print(lic_name)
420-
line['license_text_file'] = dje_license_dict[lic_name][0] + '.LICENSE'
419+
if lic_name:
420+
line['license_text_file'] = dje_license_dict[lic_name][0] + '.LICENSE'
421421
else:
422422
self.warnings.append(Warn('dje_license', '',
423423
"Missing 'dje_license' for " + line['about_file']))

0 commit comments

Comments
 (0)