Skip to content

Commit e0e04fb

Browse files
authored
Merge pull request #4626 from branfosj/no_homepage
allow for case where `homepage = None` when generating the docs
2 parents 703d3a1 + a71aafd commit e0e04fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

easybuild/tools/docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ def list_software(output_format=FORMAT_TXT, detailed=False, only_installed=False
789789
if isinstance(ec, dict):
790790
template_values = template_constant_dict(ec)
791791
for key in keys:
792-
if '%(' in info[key]:
792+
if info[key] and '%(' in info[key]:
793793
try:
794794
info[key] = info[key] % template_values
795795
except (KeyError, TypeError, ValueError) as err:

0 commit comments

Comments
 (0)