Skip to content

Commit

Permalink
Merge pull request #352 from scrapinghub/stats-report
Browse files Browse the repository at this point in the history
Generate stats report also when bypass is done
  • Loading branch information
kalessin authored Apr 25, 2017
2 parents bb3cc72 + 59cfc41 commit 0ab15a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions exporters/export_managers/base_exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ def bypass_exporter(self, bypass_class):
'items_count', self.writer.get_metadata('items_count') + bypass.total_items)
self.logger.info(
'Finished executing bypass {}.'.format(bypass_class.__name__))
self._final_stats_report()
self.notifiers.notify_complete_dump(receivers=[CLIENTS, TEAM])

def bypass(self):
Expand Down

0 comments on commit 0ab15a8

Please sign in to comment.