Skip to content

Commit

Permalink
[refs #292] Fixing autodetection - now actually includes found depend…
Browse files Browse the repository at this point in the history
…encies in list of used libraries
  • Loading branch information
carlio committed Nov 18, 2018
1 parent feeae2c commit f907c87
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion prospector/config/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ def _find_used_libraries(self, config, profile):

# Bring in adaptors that we automatically detect are needed
if config.autodetect and profile.autodetect is True:
map(libraries.append, autodetect_libraries(self.workdir))
for found_dep in autodetect_libraries(self.workdir):
libraries.append(found_dep)

# Bring in adaptors for the specified libraries
for name in set(config.uses + profile.uses):
Expand Down

0 comments on commit f907c87

Please sign in to comment.