Skip to content
Snippets Groups Projects
Commit 5603ce2ebeac authored by Houzefa Abbasbhay's avatar Houzefa Abbasbhay :slight_smile:
Browse files

Prefer "ensure_one" to a comment

parent 09287c17a75c
No related branches found
No related tags found
No related merge requests found
......@@ -43,5 +43,4 @@
@api.multi
def _get_auth_request(self, state):
"""build an authentication request and give it back to our client
WARNING: this method cannot be used for multiple ids
"""
......@@ -47,4 +46,7 @@
"""
self.ensure_one()
login = self._get_lasso_for_provider()
# ! -- this is the part that MUST be performed on each call and
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment