From 96f1356aeafbdc026846cdbe1bcfcbbbd0ab3a7c Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 3 Mar 2018 15:40:10 +0300 Subject: fix Pylint warnings --- vk/user.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'vk/user.py') diff --git a/vk/user.py b/vk/user.py index 6261683..c3c997b 100644 --- a/vk/user.py +++ b/vk/user.py @@ -98,8 +98,7 @@ class User(Hashable, MutableMapping): def parse(field, value): if field in User._FIELD_PARSERS: return User._FIELD_PARSERS[field](value) - else: - return User._DEFAULT_FIELD_PARSER(value) + return User._DEFAULT_FIELD_PARSER(value) _FIELD_PARSERS = { UserField.UID: int, -- cgit v1.2.3