summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiwinote <kiwinote@gmail.com>2010-06-28 10:02:06 +0100
committerKiwinote <kiwinote@gmail.com>2010-06-28 10:02:06 +0100
commit944626c874a7b42043d279d918c92c407627a314 (patch)
tree0123ad2033359d333859e56e6f67949e7162c7e4
parentdc53e59cb9718fd5751066539fed46d7cdf01268 (diff)
downloadpython-apt-944626c874a7b42043d279d918c92c407627a314.tar.gz
And subtract a year
-rw-r--r--apt/utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/apt/utils.py b/apt/utils.py
index f4d34261..4b3da39f 100644
--- a/apt/utils.py
+++ b/apt/utils.py
@@ -35,6 +35,7 @@ def get_maintenance_end_date(release_date, m_months):
support_end_month = (release_date.month + months) % 12
if support_end_month == 0:
support_end_month = 12
+ support_end_year -= 1
return (support_end_year, support_end_month)