From fd89a252e0897577464d6848706dd97261aad3da Mon Sep 17 00:00:00 2001 From: Richard Chapman Date: Thu, 16 Nov 2017 15:16:31 +0000 Subject: [PATCH] Code Style Updates Updated the to conform with the line ends expected by the code style in tests rather than PyCharm. --- app/dao/services_dao.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/dao/services_dao.py b/app/dao/services_dao.py index 302cd8952..0b91e2267 100644 --- a/app/dao/services_dao.py +++ b/app/dao/services_dao.py @@ -589,9 +589,8 @@ def dao_fetch_monthly_historical_usage_by_template_for_service(service_id, year) for today_result in today_results: add_to_stats = True for stat in stats: - if today_result.template_id == stat.template_id and \ - today_result.month == stat.month and \ - today_result.year == stat.year: + if today_result.template_id == stat.template_id and today_result.month == stat.month \ + and today_result.year == stat.year: stat.count = stat.count + today_result.count add_to_stats = False