diff options
| author | Kiwinote <kiwinote@gmail.com> | 2010-06-28 10:02:06 +0100 |
|---|---|---|
| committer | Kiwinote <kiwinote@gmail.com> | 2010-06-28 10:02:06 +0100 |
| commit | 944626c874a7b42043d279d918c92c407627a314 (patch) | |
| tree | 0123ad2033359d333859e56e6f67949e7162c7e4 | |
| parent | dc53e59cb9718fd5751066539fed46d7cdf01268 (diff) | |
| download | python-apt-944626c874a7b42043d279d918c92c407627a314.tar.gz | |
And subtract a year
| -rw-r--r-- | apt/utils.py | 1 |
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) |
