Refactor PyLint "inconsistent-return-statements"

This commit is contained in:
Ivan Kravets committed 2017-12-15 22:16:37 +02:00
1 parent bff590e207
commit 42fb589369
14 files changed
+48 -24

No files matched your search

+1 -1
View File
@@ -672,7 +672,7 @@ class PlatformBoardConfig(object):
def get_debug_data(self):
if not self._manifest.get("debug", {}).get("tools"):
return
return None
tools = {}
for name, options in self._manifest['debug']['tools'].items():
tools[name] = {}