forked from platformio/platformio-core
Fix "Unnecessary "else/elif" after "raise"" by PyLint
This commit is contained in:
@ -84,9 +84,7 @@ WARNING! Don't use `sudo` for the rest PlatformIO commands.
|
||||
fg="yellow",
|
||||
err=True)
|
||||
raise exception.ReturnErrorCode(1)
|
||||
else:
|
||||
raise exception.UpgradeError("\n".join(
|
||||
[str(cmd), r['out'], r['err']]))
|
||||
raise exception.UpgradeError("\n".join([str(cmd), r['out'], r['err']]))
|
||||
|
||||
return True
|
||||
|
||||
|
Reference in New Issue
Block a user