mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-23 15:56:45 -04:00
Code Style Updates
Updated the to conform with the line ends expected by the code style in tests rather than PyCharm.
This commit is contained in:
@@ -589,9 +589,8 @@ def dao_fetch_monthly_historical_usage_by_template_for_service(service_id, year)
|
|||||||
for today_result in today_results:
|
for today_result in today_results:
|
||||||
add_to_stats = True
|
add_to_stats = True
|
||||||
for stat in stats:
|
for stat in stats:
|
||||||
if today_result.template_id == stat.template_id and \
|
if today_result.template_id == stat.template_id and today_result.month == stat.month \
|
||||||
today_result.month == stat.month and \
|
and today_result.year == stat.year:
|
||||||
today_result.year == stat.year:
|
|
||||||
stat.count = stat.count + today_result.count
|
stat.count = stat.count + today_result.count
|
||||||
add_to_stats = False
|
add_to_stats = False
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user