summaryrefslogtreecommitdiff
path: root/apt/utils.py
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-12-31 23:25:13 +0100
committerMichael Vogt <mvo@debian.org>2014-01-05 20:04:30 +0100
commit3bf9c3fe4d19ed4d985dc8b7747a737699f46a7e (patch)
tree75ad948c351605fd7ac50b176f1149c4e2a513e4 /apt/utils.py
parente3c26754af1891d2c50993730467fc9335ec5f09 (diff)
downloadpython-apt-3bf9c3fe4d19ed4d985dc8b7747a737699f46a7e.tar.gz
make test_pep8.py pass
Diffstat (limited to 'apt/utils.py')
-rw-r--r--apt/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt/utils.py b/apt/utils.py
index 08140258..9451f4bc 100644
--- a/apt/utils.py
+++ b/apt/utils.py
@@ -32,7 +32,7 @@ def get_maintenance_end_date(release_date, m_months):
years = m_months // 12
months = m_months % 12
support_end_year = (release_date.year + years +
- (release_date.month + months)//12)
+ (release_date.month + months) // 12)
support_end_month = (release_date.month + months) % 12
# special case: this happens when e.g. doing 2010-06 + 18 months
if support_end_month == 0: