Delete unused variables
This commit is contained in:
@@ -3,13 +3,11 @@ import sys
|
||||
import time
|
||||
import logging
|
||||
|
||||
import praw.errors
|
||||
|
||||
from .content import SubmissionContent
|
||||
from .page import BasePage, Navigator, BaseController
|
||||
from .helpers import open_browser, open_editor
|
||||
from .curses_helpers import (Color, LoadScreen, get_arrow, get_gold, add_line,
|
||||
show_notification, text_input)
|
||||
show_notification)
|
||||
from .docs import COMMENT_FILE
|
||||
|
||||
__all__ = ['SubmissionController', 'SubmissionPage']
|
||||
@@ -175,7 +173,6 @@ class SubmissionPage(BasePage):
|
||||
text, attr = get_gold()
|
||||
add_line(win, text, attr=attr)
|
||||
|
||||
n_body = len(data['split_body'])
|
||||
for row, text in enumerate(data['split_body'], start=offset + 1):
|
||||
if row in valid_rows:
|
||||
add_line(win, text, row, 1)
|
||||
|
||||
Reference in New Issue
Block a user