fixed some janky things that autopep8 did

This commit is contained in:
Tobin
2015-03-31 09:38:20 -05:00
parent 16ab77fc2c
commit ac98f564a3
3 changed files with 17 additions and 35 deletions

View File

@@ -1,27 +1,23 @@
class SubmissionError(Exception):
"Submission could not be loaded"
"""Submission could not be loaded"""
def __init__(self, url):
self.url = url
class SubredditError(Exception):
"Subreddit could not be reached"
"""Subreddit could not be reached"""
def __init__(self, name):
self.name = name
class ProgramError(Exception):
"Problem executing an external program"
"""Problem executing an external program"""
def __init__(self, name):
self.name = name
class EscapeInterrupt(Exception):
"Signal that the ESC key has been pressed"
"""Signal that the ESC key has been pressed"""