Skip to content

Commit

Permalink
black .
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffwecan committed Sep 22, 2021
1 parent a368f9e commit e717140
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions hvac/api/auth_methods/token.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,9 +356,7 @@ def revoke_self(self, mount_point=DEFAULT_MOUNT_POINT):
:rtype: requests.Response
"""
api_path = "/v1/auth/{mount_point}/revoke-self".format(mount_point=mount_point)
return self._adapter.post(
url=api_path
)
return self._adapter.post(url=api_path)

def revoke_accessor(self, accessor, mount_point=DEFAULT_MOUNT_POINT):
"""Revoke the token associated with the accessor and all the child tokens.
Expand Down

0 comments on commit e717140

Please sign in to comment.