Remove past imports
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user