[IMP] hr_attendance:removed unused variable from 'Weekly Attendance' report

bzr revid: mtr@mtr-20110207094322-im3nesr9lxx080vy
This commit is contained in:
mtr
2011-02-07 15:13:22 +05:30
parent bcc2d840b2
commit e0e8422db1
-1
View File
@@ -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':