From dd88c8103e13f108a0fed51a82221fdf60f6a188 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 19 Jun 2016 01:36:19 +0300 Subject: add Pylint configuration & fix the warnings --- vk/error.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'vk/error.py') diff --git a/vk/error.py b/vk/error.py index b80db4e..4182449 100644 --- a/vk/error.py +++ b/vk/error.py @@ -5,12 +5,13 @@ class APIError(RuntimeError): pass -class InvalidResponseError(APIError): +class InvalidAPIResponseError(APIError): def __init__(self, response): + super().__init__() self.response = response def __str__(self): return str(self.response) -class ConnectionError(APIError): +class APIConnectionError(APIError): pass -- cgit v1.2.3