From fa22d91e053f301498d9d09a950558758bf9b40f Mon Sep 17 00:00:00 2001 From: Alexander Kukushkin Date: Tue, 8 Sep 2015 12:41:48 +0200 Subject: [PATCH] Move some basic methods implementation into parent exception class --- patroni/exceptions.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/patroni/exceptions.py b/patroni/exceptions.py index 5c13f3e0..e6159d47 100644 --- a/patroni/exceptions.py +++ b/patroni/exceptions.py @@ -1,8 +1,4 @@ class PatroniException(Exception): - pass - - -class DCSError(PatroniException): """Parent class for all kind of exceptions related to selected distributed configuration store""" @@ -15,3 +11,7 @@ class DCSError(PatroniException): "'foo'" """ return repr(self.value) + + +class DCSError(PatroniException): + pass