forked from platformio/platformio-core
Fix PY2.7 when PermissionError is not avialable
This commit is contained in:
@ -141,7 +141,7 @@ def after_upgrade(ctx):
|
|||||||
click.secho("Please wait while upgrading PlatformIO...", fg="yellow")
|
click.secho("Please wait while upgrading PlatformIO...", fg="yellow")
|
||||||
try:
|
try:
|
||||||
app.clean_cache()
|
app.clean_cache()
|
||||||
except PermissionError:
|
except: # pylint: disable=bare-except
|
||||||
pass
|
pass
|
||||||
|
|
||||||
# Update PlatformIO's Core packages
|
# Update PlatformIO's Core packages
|
||||||
|
Reference in New Issue
Block a user