File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -140,15 +140,13 @@ def format_date(date_string):
140
140
elif inst [constants .PROP_TECHNIQUE ] == constants .TECHNIQUE_FILE_EXPLORATION :
141
141
install_links .append (inst [constants .PROP_RESULT ][constants .PROP_VALUE ])
142
142
143
- # Documentation is not part of buildInstructions
144
-
145
- # if constants.CAT_DOCUMENTATION in repo_data:
146
- # for inst in repo_data[constants.CAT_DOCUMENTATION]:
147
- # if inst[constants.PROP_TECHNIQUE] == constants.TECHNIQUE_HEADER_ANALYSIS and constants.PROP_SOURCE in inst.keys():
148
- # install_links.append(inst[constants.PROP_SOURCE])
149
- # elif inst[constants.PROP_TECHNIQUE] == constants.TECHNIQUE_FILE_EXPLORATION or \
150
- # inst[constants.PROP_TECHNIQUE] == constants.TECHNIQUE_REGULAR_EXPRESSION:
151
- # install_links.append(inst[constants.PROP_RESULT][constants.PROP_VALUE])
143
+ if constants .CAT_DOCUMENTATION in repo_data :
144
+ for inst in repo_data [constants .CAT_DOCUMENTATION ]:
145
+ if inst [constants .PROP_TECHNIQUE ] == constants .TECHNIQUE_HEADER_ANALYSIS and constants .PROP_SOURCE in inst .keys ():
146
+ install_links .append (inst [constants .PROP_SOURCE ])
147
+ elif inst [constants .PROP_TECHNIQUE ] == constants .TECHNIQUE_FILE_EXPLORATION or \
148
+ inst [constants .PROP_TECHNIQUE ] == constants .TECHNIQUE_REGULAR_EXPRESSION :
149
+ install_links .append (inst [constants .PROP_RESULT ][constants .PROP_VALUE ])
152
150
if len (install_links ) > 0 :
153
151
# remove duplicates and generate codemeta
154
152
install_links = list (set (install_links ))
You can’t perform that action at this time.
0 commit comments