Remove past imports

This commit is contained in:
JonnyWong16 2020-04-10 15:52:55 -07:00
parent 422a89c26c
commit 9e9ad72dc2
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
5 changed files with 20 additions and 42 deletions

View file

@ -19,7 +19,6 @@ from __future__ import division
from __future__ import unicode_literals
from future.builtins import next
from future.builtins import str
from past.utils import old_div
import os
import platform
@ -439,7 +438,7 @@ def read_changelog(latest_only=False, since_prev_release=False):
output[-1] += '<h' + header_level + '>' + header_text + '</h' + header_level + '>'
elif line_list_match:
line_level = old_div(len(line_list_match.group(1)), 2)
line_level = len(line_list_match.group(1)) // 2
line_text = line_list_match.group(2)
if line_level > prev_level: