Better exceptions handling

This commit is contained in:
Ivan Kravets
2015-11-26 22:02:59 +02:00
parent 25f57cc683
commit ed32e07e34
8 changed files with 37 additions and 31 deletions

View File

@@ -135,7 +135,7 @@ def lib_install(ctx, libid, version):
except AssertionError:
raise exception.LibInstallDependencyError(str(item))
except exception.LibAlreadyInstalledError:
except exception.LibAlreadyInstalled:
click.secho("Already installed", fg="yellow")