Skip to content

Commit

Permalink
makes flake8 happy
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Kononykhin <[email protected]>
  • Loading branch information
andkononykhin committed Jan 30, 2019
1 parent cb725e4 commit a59ffe1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions indy_node/test/nym_txn/test_nym_auth_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def wallet_did(self):

def auth_check(action_id, signer, dest):

is_self = signer.did == dest.did
# is_self = signer.did == dest.did
is_owner = signer == (dest if dest.verkey is not None else dest.creator)

if action_id == ActionIds.add:
Expand All @@ -96,7 +96,7 @@ def auth_check(action_id, signer, dest):
elif dest.role == Roles.TRUST_ANCHOR:
return (signer.role == Roles.TRUSTEE)
# FIXME INDY-1968: uncomment when the task is addressed
#return ((signer.role == Roles.TRUSTEE) or
# return ((signer.role == Roles.TRUSTEE) or
# (signer.role == Roles.TRUST_ANCHOR and
# is_self and is_owner))
elif dest.role == Roles.NETWORK_MONITOR:
Expand Down

0 comments on commit a59ffe1

Please sign in to comment.