Skip to content

Commit

Permalink
Fix merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
jackstanek committed Aug 19, 2016
1 parent b82108c commit 16cf225
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion botbot/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def __init__(self, chkr, out=sys.stdout):

def _should_print_report(self, filelist):
for values in filelist.values():
if len(values) > 0:
if values:
return True
return False

Expand All @@ -84,6 +84,8 @@ def _remove_shared_probs(self, pl):

def write_report(self, fmt, shared, attr='problems'):
"""Write the summary of what transpired."""

# Remove
printlist = self._get_pretty_sorted_problist()
if not shared:
self._remove_shared_probs(printlist)
Expand Down

0 comments on commit 16cf225

Please sign in to comment.