From 42caf7865c0ca3f934c6814d781a163fcb7390bd Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Thu, 12 Feb 2015 14:32:05 +0200 Subject: [PATCH] Fix pylint warnings --- platformio/util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platformio/util.py b/platformio/util.py index 359a0dd1..305a37bd 100644 --- a/platformio/util.py +++ b/platformio/util.py @@ -143,7 +143,7 @@ def get_api_result(path, params=None, data=None): def get_boards(type_=None): boards = {} try: - boards = get_boards._cache + boards = get_boards._cache # pylint: disable=W0212 except AttributeError: bdirs = [join(get_source_dir(), "boards")] if isdir(join(get_home_dir(), "boards")): @@ -155,7 +155,7 @@ def get_boards(type_=None): continue with open(join(bdir, json_file)) as f: boards.update(json.load(f)) - get_boards._cache = boards + get_boards._cache = boards # pylint: disable=W0212 if type_ is None: return boards