From e0e8422db15161b6483f42f3fb730d9a8cf4096d Mon Sep 17 00:00:00 2001 From: mtr Date: Mon, 7 Feb 2011 15:13:22 +0530 Subject: [PATCH] [IMP] hr_attendance:removed unused variable from 'Weekly Attendance' report bzr revid: mtr@mtr-20110207094322-im3nesr9lxx080vy --- addons/hr_attendance/report/timesheet.py | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/hr_attendance/report/timesheet.py b/addons/hr_attendance/report/timesheet.py index 7203b7d4f1d..7adfe98ef13 100644 --- a/addons/hr_attendance/report/timesheet.py +++ b/addons/hr_attendance/report/timesheet.py @@ -80,7 +80,6 @@ class report_custom(report_rml): attendances.append({'name': n_monday.strftime('%Y-%m-%d %H:%M:%S'), 'action': 'sign_out'}) # sum up the attendances' durations ldt = None - wh = 0.0 for att in attendances: dt = datetime.strptime(att['name'], '%Y-%m-%d %H:%M:%S') if ldt and att['action'] == 'sign_out':