diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2018-03-03 15:40:10 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2018-03-03 15:40:10 +0300 |
commit | 96f1356aeafbdc026846cdbe1bcfcbbbd0ab3a7c (patch) | |
tree | 271e85f93792247725cd19f8064b65c7346acb68 /vk/user.py | |
parent | new platform, "VK Mobile" (diff) | |
download | vk-scripts-96f1356aeafbdc026846cdbe1bcfcbbbd0ab3a7c.tar.gz vk-scripts-96f1356aeafbdc026846cdbe1bcfcbbbd0ab3a7c.zip |
fix Pylint warnings
Diffstat (limited to '')
-rw-r--r-- | vk/user.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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, |