Skip to content

Commit

Permalink
Merge pull request #73 from savoirfairelinux/7.0-ddufresne-fix_employ…
Browse files Browse the repository at this point in the history
…ee_seniority

7.0 - Fix PEP8
  • Loading branch information
pedrobaeza committed Feb 12, 2015
2 parents ec3af2c + 1c3eb09 commit 7363d04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hr_employee_seniority/hr.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def _get_contracts_list(self, employee):
def _get_days_in_month(self, d):

last_date = d - timedelta(days=(d.day - 1)) + relativedelta(
months= +1) + relativedelta(days= -1)
months=1) + relativedelta(days=-1)
return last_date.day

def get_months_service_to_date(
Expand Down

0 comments on commit 7363d04

Please sign in to comment.