PEP8'd content.py and subreddit.py

This commit is contained in:
Lawrence Vanderpool
2015-06-08 06:43:15 -04:00
parent c233364693
commit 0bc97348fe
2 changed files with 5 additions and 6 deletions

View File

@@ -7,9 +7,9 @@ from .exceptions import SubmissionError, SubredditError, AccountError
from .helpers import humanize_timestamp, wrap_text, strip_subreddit_url
__all__ = ['SubredditContent', 'SubmissionContent']
_logger = logging.getLogger(__name__)
class BaseContent(object):
def get(self, index, n_cols):

View File

@@ -17,11 +17,10 @@ from .curses_helpers import (Color, LoadScreen, add_line, get_arrow, get_gold,
show_notification, prompt_input)
__all__ = ['history', 'SubredditController', 'SubredditPage']
_logger = logging.getLogger(__name__)
history = load_history()
@atexit.register
def save_links():
global history