From 401c0b7348fc38697cf5faf92d68734bf7a5dbed Mon Sep 17 00:00:00 2001 From: Eloston Date: Thu, 16 Aug 2018 06:27:39 +0000 Subject: [PATCH] buildkit: Fix more pylint no-else-return warnings --- buildkit/config.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/buildkit/config.py b/buildkit/config.py index b19ac787..a9ec7c31 100644 --- a/buildkit/config.py +++ b/buildkit/config.py @@ -338,8 +338,7 @@ class DownloadsIni(_IniConfigFile): #pylint: disable=too-few-public-methods value = value.split(':') hashes_dict[hash_name] = value return hashes_dict - else: - raise AttributeError('"{}" has no attribute "{}"'.format(type(self).__name__, name)) + raise AttributeError('"{}" has no attribute "{}"'.format(type(self).__name__, name)) def __getitem__(self, section): """