mirror of
https://github.com/morgan9e/helium
synced 2026-04-14 00:14:20 +09:00
buildkit: Fix more pylint no-else-return warnings
This commit is contained in:
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user