Skip to content

Commit

Permalink
add return code to all verb apis (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelarguedas authored Feb 22, 2018
1 parent ef1bec6 commit c10858e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions sros2/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,7 @@ def create_permission(args):
create_signed_permissions_file(
permissions_path, signed_permissions_path,
keystore_ca_cert_path, keystore_ca_key_path)
return True


def create_key(args):
Expand Down Expand Up @@ -487,7 +488,4 @@ def list_keys(args):


def distribute_key(args):
print('distributing key')
print(args)
print("just kidding, sorry, this isn't implemented yet.")
return True
raise NotImplementedError()

0 comments on commit c10858e

Please sign in to comment.