original_docstring: Task responsible for getting information about a user in basket.
docstring: Task responsible for getting information about a user in basket.
docstring_tokens: Task responsible for getting information about a user in basket .
code: def lookup_user_task(self, email):
      """Task responsible for getting information about a user in basket."""
  
      # We need to return always a dictionary for the next task
      result = {}
  
      try:
          result = basket.lookup_user(email=email)
      except MaxRetriesExceededError as exc:
          raise exc
      except basket.BasketException as exc:
          if not exc[0] == u'User not found':
              raise self.retry(exc=exc)
          result = exc.result
      return result
code_tokens: def lookup_user_task ( self , email ) : result = { } try : result = basket . lookup_user ( email = email ) except MaxRetriesExceededError as exc : raise exc except basket . BasketException as exc : if not exc [ 0 ] == u'User not found' : raise self . retry ( exc = exc ) result = exc . result return result
short_docstring: Task responsible for getting information about a user in basket.
short_docstring_tokens: Task responsible for getting information about a user in basket .
comment: """Task responsible for getting information about a user in basket."""$SEP$# We need to return always a dictionary for the next task