Skip to content

Commit

Permalink
Update builder.py
Browse files Browse the repository at this point in the history
  • Loading branch information
zcqian committed Nov 15, 2021
1 parent c794b25 commit a786470
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions biothings/hub/databuild/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,10 @@ def no_uploader_running(job_manager):
# but reading from Mongo might not be an option
# At the moment the behavior does not change, but a lot of checks
# and logging has been added
self.logger.debug("no_uploader_running: builder sources %s", self.sources)
sources = all_sources = self.build_config.get("sources", [])
self.logger.debug("no_uploader_running: builder sources %s", sources)
offending_sources = set()
for src in self.sources:
for src in sources:
src_full_name = get_source_fullname(src)
offending_sources.add(src_full_name)
self.logger.debug("no_uploader_running: src full names %s", offending_sources)
Expand Down

0 comments on commit a786470

Please sign in to comment.