diff options
author | hut <hut@lavabit.com> | 2013-02-13 02:06:01 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2013-02-13 02:07:01 +0100 |
commit | aff0fa07a88d2e532420b69b244c332c5e6d7e08 (patch) | |
tree | 82ba042d4dc9fc8c24f7aca5ab69669b2cb3b6bf | |
parent | 13a455948601b70f6017755ebc61d883bd13179e (diff) | |
download | ranger-aff0fa07a88d2e532420b69b244c332c5e6d7e08.tar.gz |
vcs.vcs: remove __init__ from VcsError(Exception)
This breaks in python2. Leaving out __init__ in subclasses of Exceptions is usually fine.
-rw-r--r-- | ranger/vcs/vcs.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ranger/vcs/vcs.py b/ranger/vcs/vcs.py index 6aa21784..4fca48c7 100644 --- a/ranger/vcs/vcs.py +++ b/ranger/vcs/vcs.py @@ -23,8 +23,7 @@ from datetime import datetime class VcsError(Exception): - def __init__(self, msg): - super().__init__(msg) + pass class Vcs(object): |