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")
|
||||
try:
|
||||
app.clean_cache()
|
||||
except PermissionError:
|
||||
except: # pylint: disable=bare-except
|
||||
pass
|
||||
|
||||
# Update PlatformIO's Core packages
|
||||
|
Reference in New Issue
Block a user