Skip to content

Commit

Permalink
pytype: disable attribute error check where we already have a guard.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wooble committed Jun 24, 2019
1 parent f4f2388 commit 25159a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pycounter/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ def _totals_line(self, metric):
if pub.metric != metric:
continue
if self.report_type == "JR1":
pdf_usage += pub.pdf_total
html_usage += pub.html_total
pdf_usage += pub.pdf_total # pytype: disable=attribute-error
html_usage += pub.html_total # pytype: disable=attribute-error
for month, data in enumerate(pub):
total_usage += data[2]
month_data[month] += data[2]
Expand Down

0 comments on commit 25159a3

Please sign in to comment.