summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2013-02-13 02:06:01 +0100
committerhut <hut@lavabit.com>2013-02-13 02:07:01 +0100
commitaff0fa07a88d2e532420b69b244c332c5e6d7e08 (patch)
tree82ba042d4dc9fc8c24f7aca5ab69669b2cb3b6bf
parent13a455948601b70f6017755ebc61d883bd13179e (diff)
downloadranger-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.py3
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):