diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2018-05-14 17:12:30 +0200 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2018-05-14 17:12:30 +0200 |
commit | 64016fd1ac000cb61bbf1fd50da192ce7125bdf3 (patch) | |
tree | 3b277786a64283f645420abbcd43515962ab06c9 /elogv | |
parent | Make code compatible with python 3 (diff) | |
download | elogv-64016fd1ac000cb61bbf1fd50da192ce7125bdf3.tar.gz elogv-64016fd1ac000cb61bbf1fd50da192ce7125bdf3.tar.bz2 elogv-64016fd1ac000cb61bbf1fd50da192ce7125bdf3.zip |
Drop unneeded __init__ for exception classes
Diffstat (limited to 'elogv')
-rwxr-xr-x | elogv | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -145,16 +145,15 @@ date_format = "%x" # Exceptions classes class TermTooSmall(Exception): - def __init__(self): - pass + """Terminal too small.""" + class NoLogFiles(Exception): - def __init__(self): - pass + """No log files.""" + class CannotOpenElogdir(Exception): - def __init__(self): - pass + """Directory could not be opened.""" def handle_sig_tstp(signum, frame): |