Fix PyLint warning

This commit is contained in:
Ivan Kravets
2016-01-28 00:56:25 +02:00
parent d44d757985
commit 04cd772f0d

View File

@ -56,7 +56,7 @@ def cli(ctx, environment, target, upload_port, # pylint: disable=R0913,R0914
if not disable_auto_clean: if not disable_auto_clean:
try: try:
_clean_pioenvs_dir(util.get_pioenvs_dir()) _clean_pioenvs_dir(util.get_pioenvs_dir())
except Exception: except: # pylint: disable=bare-except
click.secho( click.secho(
"Can not remove temporary directory `%s`. Please remove " "Can not remove temporary directory `%s`. Please remove "
"`.pioenvs` directory from the project manually to avoid " "`.pioenvs` directory from the project manually to avoid "