Refactor PyLint "inconsistent-return-statements"

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

View File

@ -93,6 +93,8 @@ WARNING! Don't use `sudo` for the rest PlatformIO commands.
raise exception.UpgradeError("\n".join(
[str(cmd), r['out'], r['err']]))
return True
def get_latest_version():
try: