PEP8 fixes.
This commit is contained in:
@@ -16,6 +16,7 @@ from .objects import curses_session
|
||||
from .subreddit import SubredditPage
|
||||
from .__version__ import __version__
|
||||
|
||||
|
||||
_logger = logging.getLogger(__name__)
|
||||
|
||||
# Pycharm debugging note:
|
||||
|
||||
@@ -4,10 +4,12 @@ from __future__ import unicode_literals
|
||||
import os
|
||||
import codecs
|
||||
import argparse
|
||||
|
||||
from six.moves import configparser
|
||||
|
||||
from . import docs, __version__
|
||||
|
||||
|
||||
HOME = os.path.expanduser('~')
|
||||
PACKAGE = os.path.dirname(__file__)
|
||||
XDG_HOME = os.getenv('XDG_CONFIG_HOME', os.path.join(HOME, '.config'))
|
||||
|
||||
@@ -17,6 +17,7 @@ import requests
|
||||
|
||||
from . import exceptions
|
||||
|
||||
|
||||
_logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
|
||||
@@ -4,8 +4,6 @@ from __future__ import unicode_literals
|
||||
import time
|
||||
import curses
|
||||
|
||||
import six
|
||||
|
||||
from . import docs
|
||||
from .content import SubredditContent
|
||||
from .page import Page, PageController, logged_in
|
||||
|
||||
@@ -318,8 +318,7 @@ class Terminal(object):
|
||||
with codecs.open(fp.name, 'r', 'utf-8') as fp2:
|
||||
text = ''.join(line for line in fp2 if not line.startswith('#'))
|
||||
text = text.rstrip()
|
||||
|
||||
return text
|
||||
return text
|
||||
|
||||
def text_input(self, window, allow_resize=False):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user