mozilla-releng / firefox-infra-changelog

Automated tool which builds a changelog of commits happening on git and hg that could affect Firefox CI Infra.
2 stars 8 forks source link

Issue 466 - Handle MD tables when no data to be shown #468

Closed raduiman-zz closed 5 years ago

raduiman-zz commented 5 years ago

This PR will fix the issue #466

Added the following methods:

Fixed the issues from lines: 102 and 129. if len(local_json_data) > 0: -> pass even if we have only one element (element 0 -> last_checked) if len(local_json_data) > 1: -> pass only if we have more than one element