mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-14 17:22:56 -07:00
Remove past imports
This commit is contained in:
parent
422a89c26c
commit
9e9ad72dc2
5 changed files with 20 additions and 42 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue