Add exceptions, merge for ssh key

The replace variable of the add_public_key function is now a merge
variable in order to append new keys to a user
This commit is contained in:
modulos 2017-06-01 19:08:38 +02:00
commit 0db15d99a5
3 changed files with 30 additions and 2 deletions

View file

@ -0,0 +1,9 @@
class KeyExistsError(Exception):
pass
class UserExistsError(Exception):
pass
class UserCredentialError(Exception):
pass