Skip to content

Commit

Permalink
INDY-1363: code style
Browse files Browse the repository at this point in the history
Signed-off-by: toktar <[email protected]>
  • Loading branch information
Toktar committed May 24, 2018
1 parent 3b5b648 commit 14b4b24
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions indy_node/server/action_req_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,10 @@ def validate(self, req: Request):
r, msg = Authoriser.authorised(typ, origin_role)
if not r:
raise UnauthorizedClientRequest(
req.identifier, req.reqId, "{} cannot do action with type = {}"
.format(Roles.nameFromValue(origin_role),
typ))
req.identifier, req.reqId,
"{} cannot do action with type = {}".format(
Roles.nameFromValue(origin_role),
typ))

def apply(self, req: Request, cons_time: int = None):
logger.debug("Transaction {} with type {} started"
Expand Down

0 comments on commit 14b4b24

Please sign in to comment.