aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/vk/user.py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2018-03-03 15:40:10 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2018-03-03 15:40:10 +0300
commit96f1356aeafbdc026846cdbe1bcfcbbbd0ab3a7c (patch)
tree271e85f93792247725cd19f8064b65c7346acb68 /vk/user.py
parentnew platform, "VK Mobile" (diff)
downloadvk-scripts-96f1356aeafbdc026846cdbe1bcfcbbbd0ab3a7c.tar.gz
vk-scripts-96f1356aeafbdc026846cdbe1bcfcbbbd0ab3a7c.zip
fix Pylint warnings
Diffstat (limited to '')
-rw-r--r--vk/user.py3
1 files changed, 1 insertions, 2 deletions
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,